Don't use GCCisms to define types when
authorAnthony Green <green@moxielogic.com>
Thu, 10 Jan 2013 06:19:43 +0000 (01:19 -0500)
committerAnthony Green <green@moxielogic.com>
Thu, 10 Jan 2013 06:19:43 +0000 (01:19 -0500)
+       building with the SUNPRO compiler.

ChangeLog
include/ffi_common.h

index ff766458f20430c6fbcf12bc856c60e1479c9f9c..2b0e67638c91136c3e160cb7b7cb4b10954284c5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-10  Anthony Green  <green@moxielogic.com>
+
+       * include/ffi_common.h: Don't use GCCisms to define types when
+       building with the SUNPRO compiler.
+
 2013-01-10  Anthony Green  <green@moxielogic.com>
 
        * configure.ac: Put local.exp in the right place.
index c179d68157ba24cb96c43bf8796fccb0d573f228..650ca6997df9f6be4140ca0127fbd4660bca0222 100644 (file)
@@ -87,7 +87,7 @@ typedef struct
 } extended_cif;
 
 /* Terse sized type definitions.  */
-#if defined(_MSC_VER) || defined(__sgi)
+#if defined(_MSC_VER) || defined(__sgi) || defined(__SUNPRO_C)
 typedef unsigned char UINT8;
 typedef signed char   SINT8;
 typedef unsigned short UINT16;