Fixes warning about posix_memalign

This commit is contained in:
Carles Fernandez 2016-01-12 23:19:09 +01:00
parent 48e9ada2e1
commit 551735e034
1 changed files with 4 additions and 0 deletions

View File

@ -96,6 +96,10 @@ if(HAVE_POSIX_MEMALIGN)
add_definitions(-DHAVE_POSIX_MEMALIGN)
endif(HAVE_POSIX_MEMALIGN)
if(NOT DEFINED _XOPEN_SOURCE)
add_definitions(-D_XOPEN_SOURCE=700)
endif(NOT DEFINED _XOPEN_SOURCE)
########################################################################
# detect x86 flavor of CPU
########################################################################