Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163291194
D7671.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
527 B
Referenced Files
None
Subscribers
None
D7671.diff
View Options
Index: head/sys/contrib/ipfilter/netinet/ip_compat.h
===================================================================
--- head/sys/contrib/ipfilter/netinet/ip_compat.h
+++ head/sys/contrib/ipfilter/netinet/ip_compat.h
@@ -32,7 +32,11 @@
# define __KERNEL__
#endif
-#define SOLARIS (defined(sun) && (defined(__svr4__) || defined(__SVR4)))
+#if defined(sun) && (defined(__svr4__) || defined(__SVR4))
+# define SOLARIS 1
+#else
+# define SOLARIS 0
+#endif
#if defined(__SVR4) || defined(__svr4__) || defined(__sgi)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 22, 7:05 PM (9 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35377736
Default Alt Text
D7671.diff (527 B)
Attached To
Mode
D7671: Define ipfilter's SOLARIS macro in a more portable way
Attached
Detach File
Event Timeline
Log In to Comment