diff options
author | David Robillard <d@drobilla.net> | 2012-01-16 19:19:59 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-01-16 19:19:59 +0000 |
commit | 9501126fb60d4758ffe2d4f6af76fc35f6c97cc8 (patch) | |
tree | 8fec8c561b69a7dbe034344e98156e5a13019b49 | |
parent | fc3d3253727c0aecbbbd26590034ad2bb427788c (diff) | |
download | sord-9501126fb60d4758ffe2d4f6af76fc35f6c97cc8.tar.gz sord-9501126fb60d4758ffe2d4f6af76fc35f6c97cc8.tar.bz2 sord-9501126fb60d4758ffe2d4f6af76fc35f6c97cc8.zip |
Use correct WIN32 define.
git-svn-id: http://svn.drobilla.net/sord/trunk@192 3d64ff67-21c5-427c-a301-fe4f08042e5a
-rw-r--r-- | sord/sord.h | 2 | ||||
-rw-r--r-- | src/sordi.c | 2 | ||||
-rw-r--r-- | src/zix/common.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sord/sord.h b/sord/sord.h index d380da2..b0f3017 100644 --- a/sord/sord.h +++ b/sord/sord.h @@ -29,7 +29,7 @@ #include "serd/serd.h" #ifdef SORD_SHARED -# ifdef __WIN32__ +# ifdef _WIN32 # define SORD_LIB_IMPORT __declspec(dllimport) # define SORD_LIB_EXPORT __declspec(dllexport) # else diff --git a/src/sordi.c b/src/sordi.c index b781024..0cbf241 100644 --- a/src/sordi.c +++ b/src/sordi.c @@ -133,7 +133,7 @@ main(int argc, char** argv) if (strncmp((const char*)input, "file:", 5)) { fprintf(stderr, "Unsupported URI scheme `%s'\n", input); return 1; -#ifdef __WIN32__ +#ifdef _WIN32 } else if (!strncmp((const char*)input, "file:///", 8)) { input += 8; #else diff --git a/src/zix/common.h b/src/zix/common.h index 7c8c942..2f63fca 100644 --- a/src/zix/common.h +++ b/src/zix/common.h @@ -26,7 +26,7 @@ /** @cond */ #ifdef ZIX_SHARED -# ifdef __WIN32__ +# ifdef _WIN32 # define ZIX_LIB_IMPORT __declspec(dllimport) # define ZIX_LIB_EXPORT __declspec(dllexport) # else |