mirror of
https://github.com/nmap/nmap.git
synced 2025-12-25 17:09:02 +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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user