Use _WIN32 instead of __MINGW32__ in 2 conditional compilations which are Windows specific, not especially mingw32 specific.

This commit is contained in:
unknown 2016-03-01 16:55:44 +01:00 committed by jean-pierre charras
parent c7fecfa69e
commit eea52027cc
2 changed files with 4 additions and 2 deletions

View File

@ -28,7 +28,7 @@
/// Macros which export functions from a DLL/DSO.
/// See: http://gcc.gnu.org/wiki/Visibility
#if defined(__MINGW32__)
#if defined(_WIN32)
#define APIEXPORT __declspec(dllexport)
#define APIIMPORT __declspec(dllimport)
#define APILOCAL

View File

@ -118,8 +118,10 @@ as such! As such, it is OK to use UTF8 characters:
#define LIB_ENV_VAR wxT( "LD_LIBRARY_PATH" )
#elif defined(__WXMAC__)
#define LIB_ENV_VAR wxT( "DYLD_LIBRARY_PATH" )
#elif defined(__MINGW32__)
#elif defined(_WIN32)
#define LIB_ENV_VAR wxT( "PATH" )
#else
#error Platform support missing
#endif