Use _WIN32 instead of __MINGW32__ in 2 conditional compilations which are Windows specific, not especially mingw32 specific.
This commit is contained in:
parent
c7fecfa69e
commit
eea52027cc
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue