blob: 7b88b1f98f9cb68f4044e728336114afbe1cfa83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
diff --git a/src/file.h b/src/file.h
index a67e8ff..9115c5b 100644
--- a/src/file.h
+++ b/src/file.h
@@ -82,7 +82,7 @@
#include <tre/regex.h>
#include <time.h>
#include <sys/types.h>
-#ifndef WIN32
+#ifndef _WIN32
#include <sys/param.h>
#endif
/* Do this here and now, because struct stat gets re-defined on solaris */
@@ -99,7 +99,7 @@
#define MAGIC "/etc/magic"
#endif
-#if defined(__EMX__) || defined (WIN32)
+#if defined(__EMX__) || defined (_WIN32)
#define PATHSEP ';'
#else
#define PATHSEP ':'
@@ -108,7 +108,7 @@
#define file_private static
#if HAVE_VISIBILITY
-# if defined(WIN32)
+# if defined(_WIN32)
# define file_public __declspec(dllexport)
# ifndef file_protected
# define file_protected
|