summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sordi.c2
-rw-r--r--src/zix/common.h2
2 files changed, 2 insertions, 2 deletions
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