summaryrefslogtreecommitdiff
path: root/gtk/gtkiconcache.c
diff options
context:
space:
mode:
authorРуслан Ижбулатов <lrn1986@gmail.com>2016-01-14 12:51:26 +0000
committerРуслан Ижбулатов <lrn1986@gmail.com>2016-01-14 12:52:04 +0000
commite44b42061737ec4f6dbdad8f1a6dc2d53ea3dd02 (patch)
tree866d5defc9f309ec6435482c768c69aa7558ad45 /gtk/gtkiconcache.c
parent0acc6578d81dd955bcaf1e451e6523ac776191d8 (diff)
downloadgtk+-e44b42061737ec4f6dbdad8f1a6dc2d53ea3dd02.tar.gz
Ensure that the fstat fix is not applied on x86_64
Diffstat (limited to 'gtk/gtkiconcache.c')
-rw-r--r--gtk/gtkiconcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkiconcache.c b/gtk/gtkiconcache.c
index 1bf564ef00..a8cfaf4b29 100644
--- a/gtk/gtkiconcache.c
+++ b/gtk/gtkiconcache.c
@@ -110,7 +110,7 @@ _gtk_icon_cache_new_for_path (const gchar *path)
/* Bug 660730: _fstat32 is only defined in msvcrt80.dll+/VS 2005+ */
/* or possibly in the msvcrt.dll linked to by the Windows DDK */
/* (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 */
#define fstat _fstat32
#endif