summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorConrad Parker <conrad@xiph.org>2004-08-11 04:20:36 +0000
committerConrad Parker <conrad@xiph.org>2004-08-11 04:20:36 +0000
commitd94d0d6643cad44734c1cfcb6726f0639f6f0879 (patch)
treeef2a0b6718f605e6393dc4f1d93a2c598e3d5084 /include
parent33e029e5cdd0ab780cfde4d3e6c52f9b85d5c719 (diff)
downloadogg-d94d0d6643cad44734c1cfcb6726f0639f6f0879.tar.gz
add support for Symbian OS, from Colin Ward (CSIRO)
git-svn-id: http://svn.xiph.org/trunk/ogg@7524 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'include')
-rw-r--r--include/ogg/os_types.h17
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>