(LONG_MAX): Define if not defined.

This commit is contained in:
Jim Meyering
1997-10-18 19:49:50 +00:00
parent 72ab8e314c
commit 3fa5a54f68
+3
View File
@@ -55,6 +55,9 @@ typedef double LONG_DOUBLE;
#ifndef ULONG_MAX
# define ULONG_MAX ((unsigned long) ~(unsigned long) 0)
#endif
#ifndef LONG_MAX
# define LONG_MAX ((long int) (ULONG_MAX >> 1))
#endif
#if HAVE_VALUES_H
# include <values.h>