VisualC/vorbis/include/ogg/os_types.h
changeset 556 2686e67b59fd
parent 555 b92bfb451700
child 557 a55168d8babe
     1.1 --- a/VisualC/vorbis/include/ogg/os_types.h	Mon Jan 09 01:58:40 2012 -0500
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,147 +0,0 @@
     1.4 -/********************************************************************
     1.5 - *                                                                  *
     1.6 - * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
     1.7 - * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
     1.8 - * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
     1.9 - * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
    1.10 - *                                                                  *
    1.11 - * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002             *
    1.12 - * by the Xiph.Org Foundation http://www.xiph.org/                  *
    1.13 - *                                                                  *
    1.14 - ********************************************************************
    1.15 -
    1.16 - function: #ifdef jail to whip a few platforms into the UNIX ideal.
    1.17 - last mod: $Id: os_types.h 17712 2010-12-03 17:10:02Z xiphmont $
    1.18 -
    1.19 - ********************************************************************/
    1.20 -#ifndef _OS_TYPES_H
    1.21 -#define _OS_TYPES_H
    1.22 -
    1.23 -/* make it easy on the folks that want to compile the libs with a
    1.24 -   different malloc than stdlib */
    1.25 -#define _ogg_malloc  malloc
    1.26 -#define _ogg_calloc  calloc
    1.27 -#define _ogg_realloc realloc
    1.28 -#define _ogg_free    free
    1.29 -
    1.30 -#if defined(_WIN32) 
    1.31 -
    1.32 -#  if defined(__CYGWIN__)
    1.33 -#    include <stdint.h>
    1.34 -     typedef int16_t ogg_int16_t;
    1.35 -     typedef uint16_t ogg_uint16_t;
    1.36 -     typedef int32_t ogg_int32_t;
    1.37 -     typedef uint32_t ogg_uint32_t;
    1.38 -     typedef int64_t ogg_int64_t;
    1.39 -     typedef uint64_t ogg_uint64_t;
    1.40 -#  elif defined(__MINGW32__)
    1.41 -#    include <sys/types.h>
    1.42 -     typedef short ogg_int16_t;
    1.43 -     typedef unsigned short ogg_uint16_t;
    1.44 -     typedef int ogg_int32_t;
    1.45 -     typedef unsigned int ogg_uint32_t;
    1.46 -     typedef long long ogg_int64_t;
    1.47 -     typedef unsigned long long ogg_uint64_t;
    1.48 -#  elif defined(__MWERKS__)
    1.49 -     typedef long long ogg_int64_t;
    1.50 -     typedef int ogg_int32_t;
    1.51 -     typedef unsigned int ogg_uint32_t;
    1.52 -     typedef short ogg_int16_t;
    1.53 -     typedef unsigned short ogg_uint16_t;
    1.54 -#  else
    1.55 -     /* MSVC/Borland */
    1.56 -     typedef __int64 ogg_int64_t;
    1.57 -     typedef __int32 ogg_int32_t;
    1.58 -     typedef unsigned __int32 ogg_uint32_t;
    1.59 -     typedef __int16 ogg_int16_t;
    1.60 -     typedef unsigned __int16 ogg_uint16_t;
    1.61 -#  endif
    1.62 -
    1.63 -#elif defined(__MACOS__)
    1.64 -
    1.65 -#  include <sys/types.h>
    1.66 -   typedef SInt16 ogg_int16_t;
    1.67 -   typedef UInt16 ogg_uint16_t;
    1.68 -   typedef SInt32 ogg_int32_t;
    1.69 -   typedef UInt32 ogg_uint32_t;
    1.70 -   typedef SInt64 ogg_int64_t;
    1.71 -
    1.72 -#elif (defined(__APPLE__) && defined(__MACH__)) /* MacOS X Framework build */
    1.73 -
    1.74 -#  include <inttypes.h>
    1.75 -   typedef int16_t ogg_int16_t;
    1.76 -   typedef uint16_t ogg_uint16_t;
    1.77 -   typedef int32_t ogg_int32_t;
    1.78 -   typedef uint32_t ogg_uint32_t;
    1.79 -   typedef int64_t ogg_int64_t;
    1.80 -
    1.81 -#elif defined(__HAIKU__)
    1.82 -
    1.83 -  /* Haiku */
    1.84 -#  include <sys/types.h>
    1.85 -   typedef short ogg_int16_t;
    1.86 -   typedef unsigned short ogg_uint16_t;
    1.87 -   typedef int ogg_int32_t;
    1.88 -   typedef unsigned int ogg_uint32_t;
    1.89 -   typedef long long ogg_int64_t;
    1.90 -
    1.91 -#elif defined(__BEOS__)
    1.92 -
    1.93 -   /* Be */
    1.94 -#  include <inttypes.h>
    1.95 -   typedef int16_t ogg_int16_t;
    1.96 -   typedef uint16_t ogg_uint16_t;
    1.97 -   typedef int32_t ogg_int32_t;
    1.98 -   typedef uint32_t ogg_uint32_t;
    1.99 -   typedef int64_t ogg_int64_t;
   1.100 -
   1.101 -#elif defined (__EMX__)
   1.102 -
   1.103 -   /* OS/2 GCC */
   1.104 -   typedef short ogg_int16_t;
   1.105 -   typedef unsigned short ogg_uint16_t;
   1.106 -   typedef int ogg_int32_t;
   1.107 -   typedef unsigned int ogg_uint32_t;
   1.108 -   typedef long long ogg_int64_t;
   1.109 -
   1.110 -#elif defined (DJGPP)
   1.111 -
   1.112 -   /* DJGPP */
   1.113 -   typedef short ogg_int16_t;
   1.114 -   typedef int ogg_int32_t;
   1.115 -   typedef unsigned int ogg_uint32_t;
   1.116 -   typedef long long ogg_int64_t;
   1.117 -
   1.118 -#elif defined(R5900)
   1.119 -
   1.120 -   /* PS2 EE */
   1.121 -   typedef long ogg_int64_t;
   1.122 -   typedef int ogg_int32_t;
   1.123 -   typedef unsigned ogg_uint32_t;
   1.124 -   typedef short ogg_int16_t;
   1.125 -
   1.126 -#elif defined(__SYMBIAN32__)
   1.127 -
   1.128 -   /* Symbian GCC */
   1.129 -   typedef signed short ogg_int16_t;
   1.130 -   typedef unsigned short ogg_uint16_t;
   1.131 -   typedef signed int ogg_int32_t;
   1.132 -   typedef unsigned int ogg_uint32_t;
   1.133 -   typedef long long int ogg_int64_t;
   1.134 -
   1.135 -#elif defined(__TMS320C6X__)
   1.136 -
   1.137 -   /* TI C64x compiler */
   1.138 -   typedef signed short ogg_int16_t;
   1.139 -   typedef unsigned short ogg_uint16_t;
   1.140 -   typedef signed int ogg_int32_t;
   1.141 -   typedef unsigned int ogg_uint32_t;
   1.142 -   typedef long long int ogg_int64_t;
   1.143 -
   1.144 -#else
   1.145 -
   1.146 -#  include <ogg/config_types.h>
   1.147 -
   1.148 -#endif
   1.149 -
   1.150 -#endif  /* _OS_TYPES_H */