Define _XOPEN_SOURCE to 500 on Solaris to enable the required namespace.
authorayin <ayin>
Mon, 25 Jun 2007 23:11:23 +0000 (23:11 +0000)
committerayin <ayin>
Mon, 25 Jun 2007 23:11:23 +0000 (23:11 +0000)
configure.ac

index deae5119a6c4568b4b22afdace2f6beebbceb995..eb53a31a49cf558612d506a467c06f0013f4426a 100644 (file)
@@ -80,9 +80,7 @@ AC_DEFINE(_GNU_SOURCE, 1, Use all glibc features.)
 
 case $host in
    *-*-solaris* )
-      AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, Needed to get declarations for msg_control and msg_controllen on Solaris)
-      AC_DEFINE(_XOPEN_SOURCE,          2, Needed to get declarations for msg_control and msg_controllen on Solaris)
-      AC_DEFINE(__EXTENSIONS__,         1, Needed to get declarations for msg_control and msg_controllen on Solaris)
+      AC_DEFINE(_XOPEN_SOURCE, 500, Needed to get declarations for msg_control and msg_controllen on Solaris)
       ;;
 esac