Hi, Vladislav!

On Jan 20, Vladislav Vaintroub wrote:
> revno: 3227
> revision-id: [email protected]
> parent: [email protected]
> committer: Vladislav Vaintroub <[email protected]>
> 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

_______________________________________________
Mailing list: https://launchpad.net/~maria-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to