Skip to content

Commit

Permalink
Use _WIN32 instead of __MINGW32__ in 2 conditional compilations which…
Browse files Browse the repository at this point in the history
… are Windows specific, not especially mingw32 specific.
  • Loading branch information
GyrosGeier authored and jp-charras committed Mar 1, 2016
1 parent c7fecfa commit eea5202
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/import_export.h
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion include/kiway.h
Expand Up @@ -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


Expand Down

0 comments on commit eea5202

Please sign in to comment.