[LIBTIFF]
authortfaber <tfaber@97493ccd-5924-5043-b1f5-66cb403b36ce>
Fri, 17 Feb 2017 13:58:26 +0000 (13:58 +0000)
committertfaber <tfaber@97493ccd-5924-5043-b1f5-66cb403b36ce>
Fri, 17 Feb 2017 13:58:26 +0000 (13:58 +0000)
- Fix GCC non-PCH build
CORE-12775

git-svn-id: file:///srv/svn/reactos/trunk@73814 97493ccd-5924-5043-b1f5-66cb403b36ce

reactos/sdk/include/reactos/libs/libtiff/tif_config.h
reactos/sdk/include/reactos/libs/libtiff/tiffconf.h

index 449d5a7..0621c7a 100644 (file)
 #define TIFF_INT64_FORMAT "%I64d"
 
 /* Signed 64-bit type */
+#ifdef __GNUC__
+#define TIFF_INT64_T signed long long
+#else
 #define TIFF_INT64_T signed __int64
+#endif
 
 /* Unsigned 64-bit type formatter */
 #define TIFF_UINT64_FORMAT "%I64u"
 
 /* Unsigned 64-bit type */
+#ifdef __GNUC__
+#define TIFF_UINT64_T unsigned long long
+#else
 #define TIFF_UINT64_T unsigned __int64
+#endif
 
 #if _WIN64
 /*
index c5d566f..799a47a 100644 (file)
 #define TIFF_INT64_FORMAT "%I64d"
 
 /* Signed 64-bit type */
+#ifdef __GNUC__
+#define TIFF_INT64_T signed long long
+#else
 #define TIFF_INT64_T signed __int64
+#endif
 
 /* Unsigned 64-bit type formatter */
 #define TIFF_UINT64_FORMAT "%I64u"
 
 /* Unsigned 64-bit type */
+#ifdef __GNUC__
+#define TIFF_UINT64_T unsigned long long
+#else
 #define TIFF_UINT64_T unsigned __int64
+#endif
 
 #if _WIN64
 /*