summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sord/sord.h2
-rw-r--r--src/sordi.c2
-rw-r--r--src/zix/common.h2
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