Yet another attempt to patch to compile.

This commit is contained in:
Ryan C. Gordon 2008-03-12 21:42:16 +00:00
parent 5c5e3d7e14
commit 1b042d124d
2 changed files with 3 additions and 3 deletions

View File

@ -34,10 +34,10 @@ extern "C" {
#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
/*

View File

@ -256,7 +256,7 @@ static HANDLE WINAPI fallbackCreateFileW(LPCWSTR fname,
} /* 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;