From d94d0d6643cad44734c1cfcb6726f0639f6f0879 Mon Sep 17 00:00:00 2001 From: Conrad Parker Date: Wed, 11 Aug 2004 04:20:36 +0000 Subject: add support for Symbian OS, from Colin Ward (CSIRO) git-svn-id: http://svn.xiph.org/trunk/ogg@7524 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- include/ogg/os_types.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/ogg/os_types.h b/include/ogg/os_types.h index 950c436..e576080 100644 --- a/include/ogg/os_types.h +++ b/include/ogg/os_types.h @@ -11,7 +11,7 @@ ******************************************************************** function: #ifdef jail to whip a few platforms into the UNIX ideal. - last mod: $Id: os_types.h,v 1.16 2004/03/14 17:35:19 giles Exp $ + last mod: $Id$ ********************************************************************/ #ifndef _OS_TYPES_H @@ -40,6 +40,12 @@ typedef unsigned int ogg_uint32_t; typedef long long ogg_int64_t; typedef unsigned long long ogg_uint64_t; +# elif defined(__MWERKS__) + typedef long long ogg_int64_t; + typedef int ogg_int32_t; + typedef unsigned int ogg_uint32_t; + typedef short ogg_int16_t; + typedef unsigned short ogg_uint16_t; # else /* MSVC/Borland */ typedef __int64 ogg_int64_t; @@ -102,6 +108,15 @@ typedef unsigned ogg_uint32_t; typedef short ogg_int16_t; +#elif defined(__SYMBIAN32__) + + /* Symbian GCC */ + typedef signed short ogg_int16_t; + typedef unsigned short ogg_uint16_t; + typedef signed int ogg_int32_t; + typedef unsigned int ogg_uint32_t; + typedef long long int ogg_int64_t; + #else # include -- cgit v1.2.1