comparison src/common.h @ 182:b65e8d0a088a

more cleanup on external names in the shared object file
author Carl Byington <carl@five-ten-sg.com>
date Mon, 13 Apr 2009 11:39:33 -0700
parents 2ec889a79e51
children 5f3fa53cb0e1
comparison
equal deleted inserted replaced
181:3b04745ff76d 182:b65e8d0a088a
1 1
2 #ifndef __COMMON_H 2 #ifndef __PST_COMMON_H
3 #define __COMMON_H 3 #define __PST_COMMON_H
4 4
5 5
6 #include <stdlib.h> 6 #include <stdlib.h>
7 #include <stdio.h> 7 #include <stdio.h>
8 #include <stdarg.h> 8 #include <stdarg.h>
22 typedef long long int64_t; 22 typedef long long int64_t;
23 #endif 23 #endif
24 24
25 25
26 #ifndef _WIN32 26 #ifndef _WIN32
27 typedef uint32_t DWORD; 27 typedef struct {
28 typedef uint16_t WORD; 28 uint32_t dwLowDateTime;
29 typedef uint8_t BYTE; 29 uint32_t dwHighDateTime;
30 typedef uint32_t UINT32;
31 typedef struct { // copied from wine
32 DWORD dwLowDateTime;
33 DWORD dwHighDateTime;
34 } FILETIME; 30 } FILETIME;
35 // According to Jan Wolter, sys/param.h is the most portable source of endian 31 // According to Jan Wolter, sys/param.h is the most portable source of endian
36 // information on UNIX systems. see http://www.unixpapa.com/incnote/byteorder.html 32 // information on UNIX systems. see http://www.unixpapa.com/incnote/byteorder.html
37 #include <sys/param.h> 33 #include <sys/param.h>
38 #else 34 #else