diff options
author | Jim Meyering <jim@meyering.net> | 1997-10-18 19:49:50 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-10-18 19:49:50 +0000 |
commit | 3fa5a54f68eddc8bd0334651a205f2e85f34b512 (patch) | |
tree | 3eb9d5bd929d1a97da9fc4598c2b825ab2a70044 | |
parent | 72ab8e314ce22dd1f50c14e44f6d1617acab8b94 (diff) | |
download | coreutils-3fa5a54f68eddc8bd0334651a205f2e85f34b512.tar.xz |
(LONG_MAX): Define if not defined.
-rw-r--r-- | src/od.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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> |