diff options
-rw-r--r-- | ConfigureChecks.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index be05685..3596755 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -167,9 +167,9 @@ if (OSX) set(HAVE_APPLE 1) endif (OSX) -if (BSD) - add_definitions(-D_XOPEN_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1) -endif (BSD) +if (SOLARIS) + add_definitions(-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1) +endif (SOLARIS) # ENDIAN if (NOT WIN32) |