From 6a028caec1b2c7904feb4c4f9cb7e1125e1d1b60 Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Thu, 10 Jan 2013 01:19:43 -0500 Subject: [PATCH] Don't use GCCisms to define types when + building with the SUNPRO compiler. --- ChangeLog | 5 +++++ include/ffi_common.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ff76645..2b0e676 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-01-10 Anthony Green + + * include/ffi_common.h: Don't use GCCisms to define types when + building with the SUNPRO compiler. + 2013-01-10 Anthony Green * configure.ac: Put local.exp in the right place. 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;