Use strdup() even in strict ANSI mode with MinGW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 22 Jun 2011 22:58:04 +0000 (22:58 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 22 Jun 2011 22:58:04 +0000 (22:58 +0000)
commitadfbce4fecf4d0de46fa241f8af27fd18d2f9de9
tree3db80918fe9771c4309c2464492e6e1cd938b257
parentc346d3d299d05dd539d06b88ca98ca0af6ef12bd
Use strdup() even in strict ANSI mode with MinGW.

MinGW headers define MSVC-compatible _strdup() even in strict ANSI mode so we
can always use it with MinGW.

This fixes a linking problem when wx itself was built without strict ANSI but
the program using it does use strict ANSI mode (e.g. due to the use of
-std=c++0x g++ option).

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