summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2012-01-20 16:54:35 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2012-01-20 16:54:35 +0100
commitc232b2023205b6b898448cb1f603b4d42a7a2656 (patch)
treeac777f01f293c375644cbd6acec4259606d11507 /mysys
parent2ed40859c4f79ec5403b86c37e2753813faf4676 (diff)
downloadmariadb-git-c232b2023205b6b898448cb1f603b4d42a7a2656.tar.gz
Fix embedded build on Windows.
Diffstat (limited to 'mysys')
-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()