Mercurial > libpst
comparison src/common.h @ 118:0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
add processing for pst files of type 0x0f
start adding support for properly building and installing libpst.so and the header files required to use it.
remove version.h since the version number is now in config.h
more const correctness issues regarding getopt()
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sat, 31 Jan 2009 12:12:36 -0800 |
parents | 7d5c637aaafb |
children | 6395ced2b8b2 |
comparison
equal
deleted
inserted
replaced
117:0a3d854b53f6 | 118:0f1492b7fe8b |
---|---|
1 | 1 |
2 #ifndef __COMMON_H | 2 #ifndef __COMMON_H |
3 #define __COMMON_H | 3 #define __COMMON_H |
4 | 4 |
5 #ifndef _WIN32 | 5 #ifndef _WIN32 |
6 typedef unsigned int DWORD; | 6 typedef uint32_t DWORD; |
7 typedef unsigned short int WORD; | 7 typedef uint16_t WORD; |
8 typedef unsigned char BYTE; | 8 typedef uint8_t BYTE; |
9 typedef unsigned int UINT32; | 9 typedef uint32_t UINT32; |
10 | 10 |
11 # pragma pack (1) | 11 # pragma pack (1) |
12 | 12 |
13 # ifndef FILETIME_DEFINED | 13 #ifndef FILETIME_DEFINED |
14 # define FILETIME_DEFINED | 14 #define FILETIME_DEFINED |
15 /*Win32 Filetime struct - copied from WINE*/ | 15 /*Win32 Filetime struct - copied from WINE*/ |
16 typedef struct { | 16 typedef struct { |
17 unsigned int dwLowDateTime; | 17 DWORD dwLowDateTime; |
18 unsigned int dwHighDateTime; | 18 DWORD dwHighDateTime; |
19 } FILETIME; | 19 } FILETIME; |
20 # endif // FILETIME_DEFINED | 20 #endif // FILETIME_DEFINED |
21 | |
21 #endif // _WIN32 | 22 #endif // _WIN32 |
22 #endif // __COMMON_H | 23 #endif // __COMMON_H |