-
-
Save SaitoAtsushi/c8e22974540ebab2808f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/gauche.h b/src/gauche.h | |
index 7b12cb1..bb3fd6e 100644 | |
--- a/src/gauche.h | |
+++ b/src/gauche.h | |
@@ -74,13 +74,6 @@ | |
# endif | |
#endif | |
-/* For Windows platforms, we need some compatibility tricks. | |
- This defines GAUCHE_WINDOWS preprocessor symbol. | |
- (This should come before including gc.h) */ | |
-#if defined(__MINGW32__) || defined(MSVC) | |
-#include <gauche/win-compat.h> | |
-#endif /* MINGW32 || WINDOWS */ | |
- | |
#if defined(LIBGAUCHE_BODY) | |
#if !defined(GC_DLL) | |
#define GC_DLL /* for gc.h to handle Win32 crazyness */ | |
@@ -103,6 +96,13 @@ | |
SCM_DECL_BEGIN | |
+/* For Windows platforms, we need some compatibility tricks. | |
+ This defines GAUCHE_WINDOWS preprocessor symbol. | |
+ (This should come before including gc.h) */ | |
+#if defined(__MINGW32__) || defined(MSVC) | |
+#include <gauche/win-compat.h> | |
+#endif /* MINGW32 || WINDOWS */ | |
+ | |
#ifdef HAVE_UNISTD_H | |
#include <unistd.h> | |
#endif /*HAVE_UNISTD_H*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment