diff options
author | ivo <ivo@xiph.org> | 2008-06-04 03:27:18 +0000 |
---|---|---|
committer | ivo <ivo@xiph.org> | 2008-06-04 03:27:18 +0000 |
commit | 834caa2fb127dfd098fb81650ef5fbcd3226fe96 (patch) | |
tree | bbf9fd5a877ed933345bd71f1b4bbe9fa11659a7 /include/ogg/os_types.h | |
parent | 065c12f1e43dbd4d2b3d1e291505cc39ffc05690 (diff) | |
download | ogg-git-834caa2fb127dfd098fb81650ef5fbcd3226fe96.tar.gz |
Build support for Haiku. Patch by scottmc at gmail. Closes #1371.
svn path=/trunk/ogg/; revision=14997
Diffstat (limited to 'include/ogg/os_types.h')
-rw-r--r-- | include/ogg/os_types.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/ogg/os_types.h b/include/ogg/os_types.h index 2f52c2f..906cf32 100644 --- a/include/ogg/os_types.h +++ b/include/ogg/os_types.h @@ -75,6 +75,16 @@ typedef u_int32_t ogg_uint32_t; typedef int64_t ogg_int64_t; +#elif defined(__HAIKU__) + + /* Haiku */ +# include <sys/types.h> + typedef short ogg_int16_t; + typedef unsigned short ogg_uint16_t; + typedef int ogg_int32_t; + typedef unsigned int ogg_uint32_t; + typedef long long ogg_int64_t; + #elif defined(__BEOS__) /* Be */ |