There's no __solaris__ predefine for Solaris; just use __sun.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 10 Apr 2012 19:05:20 +0000 (19:05 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 10 Apr 2012 19:05:20 +0000 (19:05 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@42012 f5534014-38df-0310-8fa8-9805f1628bb7

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