mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-02 17:59:34 +00:00
solaris: no ROUNDUP
Signed-off-by: David Lamparter <equinox@opensourcerouting.org> (cherry picked from commit a2b503131b188292ede08df99309bcbef4bd1a52)
This commit is contained in:
parent
3e3a83b2c1
commit
f7f9a982fa
@ -69,6 +69,12 @@ extern struct zebra_privs_t zserv_privs;
|
||||
#define ROUNDUP(a) RT_ROUNDUP(a)
|
||||
#endif /* defined(RT_ROUNDUP) */
|
||||
|
||||
#if defined(SUNOS_5)
|
||||
/* Solaris has struct sockaddr_in[6] definitions at 16 / 32 bytes size,
|
||||
* so the whole concept doesn't really apply. */
|
||||
#define ROUNDUP(a) (a)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* If ROUNDUP has not yet been defined in terms of platform-provided
|
||||
* defines, attempt to cope with heuristics.
|
||||
|
Loading…
Reference in New Issue
Block a user