← Back to team overview

maria-developers team mailing list archive

Re: [Commits] Rev 3227: Fix embedded build on Windows. in file:///H:/bzr/5.5/

 

Hi, Vladislav!

On Jan 20, Vladislav Vaintroub wrote:
> revno: 3227
> revision-id: wlad@xxxxxxxxxxxxxxxx-20120120155435-y8tyd01st3fpbq1e
> parent: wlad@xxxxxxxxxxxxxxxx-20120120113906-f6wcj47dyo6jyt45
> committer: Vladislav Vaintroub <wlad@xxxxxxxxxxxxxxxx>
> branch nick: 5.5
> timestamp: Fri 2012-01-20 16:54:35 +0100
> message:
>   Fix embedded build on Windows.

> === modified file 'mysys/CMakeLists.txt'
> --- a/mysys/CMakeLists.txt	2012-01-20 00:57:58 +0000
> +++ b/mysys/CMakeLists.txt	2012-01-20 15:54:35 +0000
> @@ -46,7 +46,7 @@
>   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)

Why is that?
I thought that WITH_SAFEMALLOC is always off on Windows?

Note, that we should always use mysys/new.cc when safemalloc is enabled.

Regards,
Sergei


Follow ups