mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 20:07:46 +00:00
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>
This commit is contained in:
parent
fbc31156f0
commit
ca54540576
16
lib/zebra.h
16
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)
|
||||
|
Loading…
Reference in New Issue
Block a user