r939 - in trunk: . platform

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Mar 12 17:42:16 EDT 2008


Author: icculus
Date: 2008-03-12 17:42:16 -0400 (Wed, 12 Mar 2008)
New Revision: 939

Modified:
   trunk/physfs_internal.h
   trunk/platform/windows.c
Log:
Yet another attempt to patch to compile.


Modified: trunk/physfs_internal.h
===================================================================
--- trunk/physfs_internal.h	2008-03-12 21:35:54 UTC (rev 938)
+++ trunk/physfs_internal.h	2008-03-12 21:42:16 UTC (rev 939)
@@ -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
 
 /*

Modified: trunk/platform/windows.c
===================================================================
--- trunk/platform/windows.c	2008-03-12 21:35:54 UTC (rev 938)
+++ trunk/platform/windows.c	2008-03-12 21:42:16 UTC (rev 939)
@@ -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;




More information about the physfs-commits mailing list