summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TSRM/TSRM.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/TSRM/TSRM.h b/TSRM/TSRM.h
index 9cfc9820e8..64c387eafd 100644
--- a/TSRM/TSRM.h
+++ b/TSRM/TSRM.h
@@ -17,6 +17,9 @@
# include "tsrm_config.h"
#endif
+#ifdef WIN32
+# define TSRM_WIN32
+#endif
#ifdef TSRM_WIN32
# ifdef TSRM_EXPORTS
@@ -31,10 +34,6 @@
/* Only compile multi-threading functions if we're in ZTS mode */
#ifdef ZTS
-#ifdef WIN32
-# define TSRM_WIN32
-#endif
-
#ifdef TSRM_WIN32
# include <windows.h>
#elif defined(GNUPTH)