Yet another attempt to patch to compile.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 12 Mar 2008 21:42:16 +0000
changeset 938 ecbae90ae88d
parent 937 3039f8fb665b
child 939 684c583cb586
Yet another attempt to patch to compile.
physfs_internal.h
platform/windows.c
--- a/physfs_internal.h	Wed Mar 12 21:35:54 2008 +0000
+++ b/physfs_internal.h	Wed Mar 12 21:42:16 2008 +0000
@@ -34,10 +34,10 @@
 #endif
 
 #ifdef __GNUC__
-#define PHYSFS_MINIMUM_GCC_VER(major, minor) \
+#define PHYSFS_MINIMUM_GCC_VERSION(major, minor) \
     ( ((__GNUC__ << 16) + __GNUC_MINOR__) >= (((major) << 16) + (minor)) )
 #else
-#define PHYSFS_MINIMUM_GCC_VER(major, minor) (0)
+#define PHYSFS_MINIMUM_GCC_VERSION(major, minor) (0)
 #endif
 
 /*
--- a/platform/windows.c	Wed Mar 12 21:35:54 2008 +0000
+++ b/platform/windows.c	Wed Mar 12 21:42:16 2008 +0000
@@ -256,7 +256,7 @@
 } /* fallbackCreateFileW */
 
 
-#if PHYSFS_MINIMUM_GCC_VERSION(3,3)
+#if (PHYSFS_MINIMUM_GCC_VERSION(3,3))
     typedef FARPROC __attribute__((__may_alias__)) PHYSFS_FARPROC;
 #else
     typedef FARPROC PHYSFS_FARPROC;