Whoops, forgot to uncomment this from my testing...
authorRyan C. Gordon <icculus@icculus.org>
Mon, 26 Mar 2007 06:38:36 +0000
changeset 862 fffd11ead666
parent 861 9b405bf6a95d
child 863 50777456889b
Whoops, forgot to uncomment this from my testing...
platform/windows.c
--- a/platform/windows.c	Mon Mar 26 06:36:39 2007 +0000
+++ b/platform/windows.c	Mon Mar 26 06:38:36 2007 +0000
@@ -264,10 +264,8 @@
     HMODULE dll = NULL;
 
     #define LOOKUP_NOFALLBACK(x) { symLookup(dll, (void **) &p##x, #x); }
-//    #define LOOKUP(x) { \
-//        if (!symLookup(dll, (void **) &p##x, #x)) \
-
     #define LOOKUP(x) { \
+        if (!symLookup(dll, (void **) &p##x, #x)) \
             p##x = fallback##x; \
     }
 
@@ -285,11 +283,11 @@
     if (dll != NULL)
     {
         LOOKUP_NOFALLBACK(GetFileAttributesExA);
-//        LOOKUP_NOFALLBACK(GetFileAttributesExW);
+        LOOKUP_NOFALLBACK(GetFileAttributesExW);
         LOOKUP(GetModuleFileNameW);
         LOOKUP(FormatMessageW);
-//        LOOKUP_NOFALLBACK(FindFirstFileW);
-//        LOOKUP_NOFALLBACK(FindNextFileW);
+        LOOKUP_NOFALLBACK(FindFirstFileW);
+        LOOKUP_NOFALLBACK(FindNextFileW);
         LOOKUP(GetFileAttributesW);
         LOOKUP(GetCurrentDirectoryW);
         LOOKUP(CreateDirectoryW);