Mercurial > libpst
annotate src/common.h @ 59:7d5c637aaafb
General cleanup and code fixes.
Use autoscan to cleanup our autoconf system.
Use autoconf to detect when we need to use our XGetopt files and other header files.
Decode BCC field.
Fix missing LE32_CPU byte swapping for FILETIME types.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 14 Feb 2008 14:55:32 -0800 |
parents | b2a7f2e0926a |
children | 0f1492b7fe8b |
rev | line source |
---|---|
16 | 1 |
2 #ifndef __COMMON_H | |
3 #define __COMMON_H | |
4 | |
5 #ifndef _WIN32 | |
6 typedef unsigned int DWORD; | |
7 typedef unsigned short int WORD; | |
8 typedef unsigned char BYTE; | |
9 typedef unsigned int UINT32; | |
10 | |
11 # pragma pack (1) | |
12 | |
13 # ifndef FILETIME_DEFINED | |
14 # define FILETIME_DEFINED | |
15 /*Win32 Filetime struct - copied from WINE*/ | |
16 typedef struct { | |
46 | 17 unsigned int dwLowDateTime; |
16 | 18 unsigned int dwHighDateTime; |
19 } FILETIME; | |
59
7d5c637aaafb
General cleanup and code fixes.
Carl Byington <carl@five-ten-sg.com>
parents:
46
diff
changeset
|
20 # endif // FILETIME_DEFINED |
16 | 21 #endif // _WIN32 |
22 #endif // __COMMON_H |