aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2013-01-10 01:19:43 -0500
committerAnthony Green <green@moxielogic.com>2013-01-10 01:19:43 -0500
commit6a028caec1b2c7904feb4c4f9cb7e1125e1d1b60 (patch)
treef5850e43be7592d04da51474f786bf5bf64bca26 /include
parent2d9b3939751b3ef9739049509d353ade10b32a8f (diff)
downloadplatform_external_libffi-6a028caec1b2c7904feb4c4f9cb7e1125e1d1b60.tar.gz
platform_external_libffi-6a028caec1b2c7904feb4c4f9cb7e1125e1d1b60.tar.bz2
platform_external_libffi-6a028caec1b2c7904feb4c4f9cb7e1125e1d1b60.zip
Don't use GCCisms to define types when
+ building with the SUNPRO compiler.
Diffstat (limited to 'include')
-rw-r--r--include/ffi_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ffi_common.h b/include/ffi_common.h
index c179d68..650ca69 100644
--- a/include/ffi_common.h
+++ b/include/ffi_common.h
@@ -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;