aboutsummaryrefslogtreecommitdiff
path: root/smelt/glfw/smelt_internal.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'smelt/glfw/smelt_internal.hpp')
-rw-r--r--smelt/glfw/smelt_internal.hpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/smelt/glfw/smelt_internal.hpp b/smelt/glfw/smelt_internal.hpp
index 5b82bf6..d7ec3c9 100644
--- a/smelt/glfw/smelt_internal.hpp
+++ b/smelt/glfw/smelt_internal.hpp
@@ -18,8 +18,14 @@
#include <cstdlib>
#include <ctime>
#include <cstdarg>
+#ifdef WIN32
+#include <windows.h>
+#include <intrin.h>
+#define strcasecmp _stricmp
+#else
#include <dirent.h>
#include <unistd.h>
+#endif
#define GLEW_STATIC
#include <GL/glew.h>
#include <GLFW/glfw3.h>
@@ -32,10 +38,6 @@
#include <vorbis/vorbisfile.h>
#endif
#endif
-#ifdef WIN32
-#include <windows.h>
-#include <intrin.h>
-#endif
#define xstr(s) str(s)
#define str(s) #s