mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
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.
|
/// Macros which export functions from a DLL/DSO.
|
||||||
/// See: http://gcc.gnu.org/wiki/Visibility
|
/// See: http://gcc.gnu.org/wiki/Visibility
|
||||||
|
|
||||||
#if defined(__MINGW32__)
|
#if defined(_WIN32)
|
||||||
#define APIEXPORT __declspec(dllexport)
|
#define APIEXPORT __declspec(dllexport)
|
||||||
#define APIIMPORT __declspec(dllimport)
|
#define APIIMPORT __declspec(dllimport)
|
||||||
#define APILOCAL
|
#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" )
|
#define LIB_ENV_VAR wxT( "LD_LIBRARY_PATH" )
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#define LIB_ENV_VAR wxT( "DYLD_LIBRARY_PATH" )
|
#define LIB_ENV_VAR wxT( "DYLD_LIBRARY_PATH" )
|
||||||
#elif defined(__MINGW32__)
|
#elif defined(_WIN32)
|
||||||
#define LIB_ENV_VAR wxT( "PATH" )
|
#define LIB_ENV_VAR wxT( "PATH" )
|
||||||
|
#else
|
||||||
|
#error Platform support missing
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user