summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2010-02-25 22:58:57 +0300
committerAlexander Nozdrin <alik@sun.com>2010-02-25 22:58:57 +0300
commitaccce6be6eba077aaa538c8b0f4d1a839d08abe6 (patch)
tree4b3b3b110f6d30f408577b12710f0925376eb883 /mysys
parenta98481354e99f4bd27ca91e74518999eb5dee359 (diff)
parent49e7114fdb3520462a40f22d17f267686a5f1f3f (diff)
downloadmariadb-git-accce6be6eba077aaa538c8b0f4d1a839d08abe6.tar.gz
Auto-merge from mysql-next-mr.
Diffstat (limited to 'mysys')
-rwxr-xr-xmysys/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/CMakeLists.txt b/mysys/CMakeLists.txt
index c035a2f0b49..2fbaac7fe72 100755
--- a/mysys/CMakeLists.txt
+++ b/mysys/CMakeLists.txt
@@ -42,7 +42,7 @@ IF (WIN32)
SET (MYSYS_SOURCES ${MYSYS_SOURCES} my_winthread.c my_wincond.c my_winerr.c my_winfile.c my_windac.c my_conio.c)
ENDIF()
-IF(CMAKE_COMPILER_IS_GNUCC AND NOT HAVE_CXX_NEW)
+IF(NOT HAVE_CXX_NEW)
# gcc as C++ compiler does not have new/delete
SET(MYSYS_SOURCES ${MYSYS_SOURCES} my_new.cc)
ADD_DEFINITIONS( -DUSE_MYSYS_NEW)