Bash-4.3 distribution sources and documentation
[platform/upstream/bash.git] / include / typemax.h
index 300b113..aa21c9c 100644 (file)
@@ -96,4 +96,8 @@ static const unsigned long long int maxquad = ULLONG_MAX;
 #  define SSIZE_MAX    32767           /* POSIX minimum max */
 #endif
 
+#ifndef SIZE_MAX
+#  define SIZE_MAX     65535           /* POSIX minimum max */
+#endif
+
 #endif /* _SH_TYPEMAX_H */