Yet another attempt to patch to compile.
This commit is contained in:
parent
5c5e3d7e14
commit
1b042d124d
|
@ -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
|
||||
|
||||
/*
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue