[gtk+/gtk-3-18] Ensure that the fstat fix is not applied on x86_64



commit 62b9c4f817dca34b29d41675daaa282dfc218a25
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date:   Thu Jan 14 12:51:26 2016 +0000

    Ensure that the fstat fix is not applied on x86_64

 gtk/gtkiconcache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkiconcache.c b/gtk/gtkiconcache.c
index ed79633..3b46666 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]