diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2024-01-04 14:24:01 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2024-01-04 14:24:01 -0500 |
| commit | ca5454057678927d5e4b244ab49fedc448198f0c (patch) | |
| tree | 92ae468409145742405e9aa2a4107687de9bee85 /lib/zebra.h | |
| parent | fbc31156f0ae2d1a345994e2de95166e28fa70ac (diff) | |
lib: Remove inclusion of various MAXINT from zebra.h
All modern systems should have these defined. Let's stop
paying the cost of this compilation.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/zebra.h')
| -rw-r--r-- | lib/zebra.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/zebra.h b/lib/zebra.h index f838990b30..362037bf54 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -140,22 +140,6 @@ #include <netinet6/nd6.h> #endif /* HAVE_NETINET6_ND6_H */ -/* Some systems do not define UINT32_MAX, etc.. from inttypes.h - * e.g. this makes life easier for FBSD 4.11 users. - */ -#ifndef INT16_MAX -#define INT16_MAX (32767) -#endif -#ifndef INT32_MAX -#define INT32_MAX (2147483647) -#endif -#ifndef UINT16_MAX -#define UINT16_MAX (65535U) -#endif -#ifndef UINT32_MAX -#define UINT32_MAX (4294967295U) -#endif - /* Local includes: */ #if !defined(__GNUC__) #define __attribute__(x) |
