mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Only use RT_ROUNDUP on NetBSD
AIX's version breaks things: http://seclists.org/nmap-dev/2014/q3/405
This commit is contained in:
parent
3c5137e7e7
commit
48dfb446d2
2 changed files with 2 additions and 2 deletions
|
|
@ -1899,7 +1899,7 @@ index 44e7dd2..47f3705 100644
|
|||
|
||||
#include "dnet.h"
|
||||
|
||||
+#ifdef RT_ROUNDUP
|
||||
+#if defined(RT_ROUNDUP) && defined(__NetBSD__)
|
||||
+/* NetBSD defines this macro rounding to 64-bit boundaries.
|
||||
+ http://fxr.watson.org/fxr/ident?v=NETBSD;i=RT_ROUNDUP */
|
||||
+#define ROUNDUP(a) RT_ROUNDUP(a)
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
|
||||
#include "dnet.h"
|
||||
|
||||
#ifdef RT_ROUNDUP
|
||||
#if defined(RT_ROUNDUP) && defined(__NetBSD__)
|
||||
/* NetBSD defines this macro rounding to 64-bit boundaries.
|
||||
http://fxr.watson.org/fxr/ident?v=NETBSD;i=RT_ROUNDUP */
|
||||
#define ROUNDUP(a) RT_ROUNDUP(a)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue