VS2008 project files.
[xiph/unicode.git] / w3d / w3dtypes.h
blobf20e2bbffa31237749a68af899208ab745789d3d
1 #ifndef __W3D_TYPES_H
2 #define __W3D_TYPES_H
4 #if defined(_WIN32) /* The unistd.h and stdint.h headers do not */
5 /* exists in VC6 either in BC5 */
7 #define TYPE_BITS 10
8 #define __FUNCTION__ "" // in Win this is not supported.
10 typedef char int8_t;
11 typedef short int16_t;
12 typedef int int32_t;
14 typedef unsigned char uint8_t;
15 typedef unsigned short uint16_t;
16 typedef unsigned int uint32_t;
18 typedef int16_t TYPE;
20 #define snprintf _snprintf // name confusion...
21 #define inline __inline
23 #else
25 #include <unistd.h>
26 #include <stdint.h>
28 #ifndef O_BINARY
29 #define O_BINARY 0
30 #endif
32 #endif
34 #endif /* __W3D_TYPES_H */