wrong defines for win in os_types.h.in (typo)
[platform/upstream/libvorbis.git] / include / vorbis / os_types.h.in
1 #ifndef _OS_TYPES_H
2 #define _OS_TYPES_H
3 /********************************************************************
4  *                                                                  *
5  * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
6  * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
7  * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
8  * PLEASE READ THESE TERMS DISTRIBUTING.                            *
9  *                                                                  *
10  * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-2000             *
11  * by Monty <monty@xiph.org> and The XIPHOPHORUS Company            *
12  * http://www.xiph.org/                                             *
13  *                                                                  *
14  ********************************************************************
15
16  function: #ifdef jail to whip a few platforms into the UNIX ideal.
17  last mod: $Id: os_types.h.in,v 1.2 2000/08/30 06:26:49 xiphmont Exp $
18
19  ********************************************************************/
20
21 #if defined (_WIN32) 
22 #if !defined(__GNUC__)
23
24 /* MSVC/Borland */
25 typedef __int64 ogg_int64_t;
26 typedef __int32 ogg_int32_t;
27 typedef unsigned __int32 ogg_uint32_t;
28 typedef __int16 ogg_int16_t;
29
30 #else
31
32 /* Cygwin */
33 #include <_G_config.h>
34 typedef _G_int64_t ogg_int64_t;
35 typedef _G_int32_t ogg_int32_t;
36 typedef unsigned _G_int32_t ogg_uint32_t;
37 typedef _G_int16_t ogg_int16_t;
38 #endif
39 #else
40
41 #ifdef __BEOS__
42 /* Be */
43 #include <inttypes.h>
44 #endif
45
46 /* filled in by configure */
47 typedef @SIZE16@ ogg_int16_t;
48 typedef @SIZE32@ ogg_int32_t;
49 typedef @USIZE32@ ogg_uint32_t;
50 typedef @SIZE64@ ogg_int64_t;
51
52 #endif
53
54 #endif 
55