There's no __solaris__ predefine for Solaris; just use __sun.
authorGuy Harris <guy@alum.mit.edu>
Tue, 10 Apr 2012 19:05:20 +0000 (19:05 -0000)
committerGuy Harris <guy@alum.mit.edu>
Tue, 10 Apr 2012 19:05:20 +0000 (19:05 -0000)
svn path=/trunk/; revision=42012

text2pcap.c

index ed31688dd811e00498be30e7bb2ec390e8613ba6..7bf329a786decc6cecc7cf028d61a673c6463752 100644 (file)
@@ -90,7 +90,7 @@
 #  define __USE_XOPEN
 #endif
 #ifndef _XOPEN_SOURCE
-#  ifndef __solaris__
+#  ifndef __sun
 #    define _XOPEN_SOURCE 600
 #  endif
 #endif