]> git.saurik.com Git - wxWidgets.git/commit
Fix compilation with MinGW -std=c++11 option.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 9 Mar 2013 15:08:17 +0000 (15:08 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 9 Mar 2013 15:08:17 +0000 (15:08 +0000)
commit63e1921d0be4956ab729735189ccf637773a7e27
tree555062a10229303989b62e54b5b6b4cba7c53c3c
parent87b621a5b737c09cef079bb4a9ef53be132d2ce0
Fix compilation with MinGW -std=c++11 option.

With this option _strdup() is not available, so update the code defining
wxCRT_StrdupA() to check for __WX_STRICT_ANSI_GCC__.

Also try to simplify it a bit and make it more clear.

Closes #15011.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/wxcrtbase.h