summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2010-05-04 18:51:12 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2010-05-04 18:52:22 (GMT)
commita18612429db86c23a40e5f96ce1de5425573779c (patch)
tree6f85f091537b91c6674981b3735844994e8b93b0 /Utilities/cmlibarchive
parente2c496e2af8e0f2bc0aaa62e91810482234a2157 (diff)
downloadCMake-a18612429db86c23a40e5f96ce1de5425573779c.zip
CMake-a18612429db86c23a40e5f96ce1de5425573779c.tar.gz
CMake-a18612429db86c23a40e5f96ce1de5425573779c.tar.bz2
Fixes for bug # 10543, build on older sunpro now works.
Diffstat (limited to 'Utilities/cmlibarchive')
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_endian.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_endian.h b/Utilities/cmlibarchive/libarchive/archive_endian.h
index e374546..b7a5f96 100644
--- a/Utilities/cmlibarchive/libarchive/archive_endian.h
+++ b/Utilities/cmlibarchive/libarchive/archive_endian.h
@@ -43,9 +43,11 @@
* Disabling inline keyword for compilers known to choke on it:
* - Watcom C++ in C code. (For any version?)
* - SGI MIPSpro
+ * - SunPro C
* - Microsoft Visual C++ 6.0 (supposedly newer versions too)
*/
-#if defined(__WATCOMC__) || defined(__sgi) || defined(__hpux) || defined(__BORLANDC__)
+#if defined(__WATCOMC__) || defined(__sgi) || defined(__hpux)
+ || defined(__BORLANDC__) || defined(__SUNPRO_C)
#define inline
#elif defined(_MSC_VER)
#define inline __inline