[LIBTIFF] Restore ROS-diff that I thought was no longer needed because of PCH. CORE...
authorThomas Faber <thomas.faber@reactos.org>
Mon, 5 Feb 2018 17:21:23 +0000 (18:21 +0100)
committerThomas Faber <thomas.faber@reactos.org>
Mon, 5 Feb 2018 17:21:48 +0000 (18:21 +0100)
sdk/include/reactos/libs/libtiff/tif_config.h
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
 /*