diff options
author | Conrad Parker <conrad@xiph.org> | 2004-08-11 04:20:36 +0000 |
---|---|---|
committer | Conrad Parker <conrad@xiph.org> | 2004-08-11 04:20:36 +0000 |
commit | baebf2b97b2f8bf85de4963271057a799baceb5f (patch) | |
tree | ef2a0b6718f605e6393dc4f1d93a2c598e3d5084 /include | |
parent | 61db07eaac5bc2e3d488ffddea68f84084d1783a (diff) | |
download | ogg-git-baebf2b97b2f8bf85de4963271057a799baceb5f.tar.gz |
add support for Symbian OS, from Colin Ward (CSIRO)
svn path=/trunk/ogg/; revision=7524
Diffstat (limited to 'include')
-rw-r--r-- | include/ogg/os_types.h | 17 |
1 files changed, 16 insertions, 1 deletions
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 <sys/types.h> |