svn commit: r304959 - head/sys/contrib/ipfilter/netinet

Konstantin Belousov kib at FreeBSD.org
Sun Aug 28 18:10:30 UTC 2016


Author: kib
Date: Sun Aug 28 18:10:29 2016
New Revision: 304959
URL: https://svnweb.freebsd.org/changeset/base/304959

Log:
  Complete r304953.
  
  Sponsored by:	The FreeBSD Foundation
  MFC after:	3 days

Modified:
  head/sys/contrib/ipfilter/netinet/ip_log.c

Modified: head/sys/contrib/ipfilter/netinet/ip_log.c
==============================================================================
--- head/sys/contrib/ipfilter/netinet/ip_log.c	Sun Aug 28 15:23:44 2016	(r304958)
+++ head/sys/contrib/ipfilter/netinet/ip_log.c	Sun Aug 28 18:10:29 2016	(r304959)
@@ -19,7 +19,11 @@
 # include <osreldate.h>
 #endif
 #ifndef SOLARIS
-# define SOLARIS (defined(sun) && (defined(__svr4__) || defined(__SVR4)))
+#if defined(sun) && (defined(__svr4__) || defined(__SVR4))
+# define	SOLARIS		1
+#else
+# define	SOLARIS		0
+#endif
 #endif
 #include <sys/errno.h>
 #include <sys/types.h>


More information about the svn-src-head mailing list