Move SIZE_MAX compat define into missing.h where it belongs.

This commit is contained in:
Todd C. Miller
2014-05-01 08:38:43 -06:00
parent cbee9cc8cb
commit 0a9a8d9562
4 changed files with 106 additions and 138 deletions

View File

@@ -148,6 +148,14 @@
# endif
#endif
#ifndef SIZE_MAX
# ifdef SIZE_T_MAX
# define SIZE_MAX SIZE_T_MAX
# else
# define SIZE_MAX ULONG_MAX
# endif /* SIZE_T_MAX */
#endif /* SIZE_MAX */
#ifndef PATH_MAX
# ifdef _POSIX_PATH_MAX
# define PATH_MAX _POSIX_PATH_MAX