]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Don't include limits.h.
authorJim Meyering <jim@meyering.net>
Sun, 21 Dec 1997 22:20:01 +0000 (22:20 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 21 Dec 1997 22:20:01 +0000 (22:20 +0000)
(UINT_MAX): Don't define.
(INT_MAX): Don't define.
These are all done in system.h now.

src/factor.c

index 38ae811846a1567730db9b3c8195d133638e5ae0..843c58896b697acbaab164fe9c44068c6b4988c6 100644 (file)
 #include <assert.h>
 #define NDEBUG 1
 
-#ifdef HAVE_LIMITS_H
-# include <limits.h>
-#endif /* HAVE_LIMITS_H */
-
-#ifndef UINT_MAX
-# define UINT_MAX ((unsigned int) ~(unsigned int) 0)
-#endif
-
-#ifndef INT_MAX
-# define INT_MAX ((int) (UINT_MAX >> 1))
-#endif
-
 #include "system.h"
 #include "long-options.h"
 #include "error.h"