summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mysys/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/CMakeLists.txt b/mysys/CMakeLists.txt
index 819406b67e1..329c132a9f1 100644
--- a/mysys/CMakeLists.txt
+++ b/mysys/CMakeLists.txt
@@ -46,7 +46,7 @@ IF(UNIX)
SET (MYSYS_SOURCES ${MYSYS_SOURCES} my_addr_resolve.c)
ENDIF()
-IF(WITH_SAFEMALLOC OR NOT HAVE_CXX_NEW)
+IF(NOT HAVE_CXX_NEW)
ADD_DEFINITIONS( -DUSE_MYSYS_NEW)
SET (MYSYS_SOURCES ${MYSYS_SOURCES} my_new.cc)
ENDIF()