diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e159bff..0d440aab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -355,12 +355,7 @@ IF(NOT HAVE_C99_VLA) CHECK_SYMBOL_EXISTS(alloca malloc.h HAVE_ALLOCA) ENDIF() IF(NOT HAVE_ALLOCA) - CHECK_SYMBOL_EXISTS(_alloca malloc.h HAVE__ALLOCA) - IF(NOT HAVE__ALLOCA) - MESSAGE(FATAL_ERROR "No alloca function found, please report!") - ENDIF() - - ADD_DEFINITIONS(-Dalloca=_alloca) + MESSAGE(FATAL_ERROR "No alloca function found, please report!") ENDIF() ENDIF() |