mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-29 02:27:53 +00:00
Ensure that the fstat fix is not applied on x86_64
This commit is contained in:
parent
0acc6578d8
commit
e44b420617
@ -110,7 +110,7 @@ _gtk_icon_cache_new_for_path (const gchar *path)
|
|||||||
/* Bug 660730: _fstat32 is only defined in msvcrt80.dll+/VS 2005+ */
|
/* Bug 660730: _fstat32 is only defined in msvcrt80.dll+/VS 2005+ */
|
||||||
/* or possibly in the msvcrt.dll linked to by the Windows DDK */
|
/* or possibly in the msvcrt.dll linked to by the Windows DDK */
|
||||||
/* (will need to check on the Windows DDK part later) */
|
/* (will need to check on the Windows DDK part later) */
|
||||||
#if (_MSC_VER >= 1400 || __MSVCRT_VERSION__ >= 0x0800) || defined (__MINGW64_VERSION_MAJOR)
|
#if ((_MSC_VER >= 1400 || __MSVCRT_VERSION__ >= 0x0800) || defined (__MINGW64_VERSION_MAJOR)) && !defined(_WIN64)
|
||||||
#undef fstat /* Just in case */
|
#undef fstat /* Just in case */
|
||||||
#define fstat _fstat32
|
#define fstat _fstat32
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user