mojoshader_preprocessor.c
changeset 1195 f4ef8606c68d
parent 1188 25000edc0176
--- a/mojoshader_preprocessor.c	Sun Apr 07 00:19:10 2019 -0400
+++ b/mojoshader_preprocessor.c	Thu Apr 11 11:20:47 2019 -0400
@@ -201,8 +201,7 @@
 
 #if !MOJOSHADER_FORCE_INCLUDE_CALLBACKS
 
-// !!! FIXME: most of these _MSC_VER should probably be _WINDOWS?
-#ifdef _MSC_VER
+#ifdef _WIN32
 #define WIN32_LEAN_AND_MEAN 1
 #include <windows.h>  // GL headers need this for WINGDIAPI definition.
 #else
@@ -218,7 +217,7 @@
                                      MOJOSHADER_malloc m, MOJOSHADER_free f,
                                      void *d)
 {
-#ifdef _MSC_VER
+#ifdef _WIN32
     WCHAR wpath[MAX_PATH];
     if (!MultiByteToWideChar(CP_UTF8, 0, fname, -1, wpath, MAX_PATH))
         return 0;