summaryrefslogtreecommitdiff
path: root/libtiff/tiffiop.h
diff options
context:
space:
mode:
authorfwarmerdam <fwarmerdam>2011-03-21 21:09:19 +0000
committerfwarmerdam <fwarmerdam>2011-03-21 21:09:19 +0000
commit1460253d342fe13661a179620652b3b37e9c4804 (patch)
treeac3b0accb4e2f01a5f9367188090496c9b8301eb /libtiff/tiffiop.h
parent107131f390a51e2e4c6cfda8557edd5daa762034 (diff)
downloadlibtiff-1460253d342fe13661a179620652b3b37e9c4804.tar.gz
avoid declaring uint64/int64 on AIX where it is already available (#2301)
Diffstat (limited to 'libtiff/tiffiop.h')
-rw-r--r--libtiff/tiffiop.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libtiff/tiffiop.h b/libtiff/tiffiop.h
index a064039f..f65f8550 100644
--- a/libtiff/tiffiop.h
+++ b/libtiff/tiffiop.h
@@ -1,4 +1,4 @@
-/* $Id: tiffiop.h,v 1.51.2.6 2010-06-12 02:55:16 bfriesen Exp $ */
+/* $Id: tiffiop.h,v 1.51.2.7 2011-03-21 21:09:19 fwarmerdam Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
@@ -59,10 +59,13 @@ extern void *lfind(const void *, const void *, size_t *, size_t,
/*
Libtiff itself does not require a 64-bit type, but bundled TIFF
- utilities may use it.
+ utilities may use it.
*/
+
+#if !defined(__xlC__) && !defined(__xlc__) // Already defined there (#2301)
typedef TIFF_INT64_T int64;
typedef TIFF_UINT64_T uint64;
+#endif
#include "tiffio.h"
#include "tif_dir.h"