summaryrefslogtreecommitdiffhomepage
path: root/compat/compat.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-14 18:51:32 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-14 18:51:32 +0200
commitec1c2b16379d657db92c90e25b9e01393267b596 (patch)
treeddc7d62b0043da1261d729f817cfe8cbea4c600c /compat/compat.h
parent38303ae6a79fc8dea560a2d2813fe1ea360e401d (diff)
Clean up preprocessor mingw-isms
No functional changes.
Diffstat (limited to 'compat/compat.h')
-rw-r--r--compat/compat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/compat/compat.h b/compat/compat.h
index 7692b38a..6a95f167 100644
--- a/compat/compat.h
+++ b/compat/compat.h
@@ -6,7 +6,7 @@
*/
#pragma once
-#if defined(_WIN32) || defined(__WIN32)
+#if defined(_WIN32)
#include <windows.h>
#else
#include <stdio.h>
@@ -19,7 +19,7 @@
#include <sys/types.h>
#endif
-#if defined(IN_FTNOIR_COMPAT) && (defined(_WIN32) || defined(__WIN32))
+#if defined(IN_FTNOIR_COMPAT) && defined(_WIN32)
# define COMPAT_EXPORT __declspec(dllexport)
#else
# define COMPAT_EXPORT
@@ -33,7 +33,7 @@ public:
void unlock();
void* mem;
private:
-#if defined(_WIN32) || defined(__WIN32)
+#if defined(_WIN32)
HANDLE hMutex, hMapFile;
#else
int fd, size;