Mercurial > libpst
annotate 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 |
rev | line source |
---|---|
16 | 1 |
2 #ifndef __COMMON_H | |
3 #define __COMMON_H | |
4 | |
5 #ifndef _WIN32 | |
118
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
59
diff
changeset
|
6 typedef uint32_t DWORD; |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
59
diff
changeset
|
7 typedef uint16_t WORD; |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
59
diff
changeset
|
8 typedef uint8_t BYTE; |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
59
diff
changeset
|
9 typedef uint32_t UINT32; |
16 | 10 |
11 # pragma pack (1) | |
12 | |
118
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
59
diff
changeset
|
13 #ifndef FILETIME_DEFINED |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
59
diff
changeset
|
14 #define FILETIME_DEFINED |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
59
diff
changeset
|
15 /*Win32 Filetime struct - copied from WINE*/ |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
59
diff
changeset
|
16 typedef struct { |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
59
diff
changeset
|
17 DWORD dwLowDateTime; |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
59
diff
changeset
|
18 DWORD dwHighDateTime; |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
59
diff
changeset
|
19 } FILETIME; |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
59
diff
changeset
|
20 #endif // FILETIME_DEFINED |
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
59
diff
changeset
|
21 |
16 | 22 #endif // _WIN32 |
23 #endif // __COMMON_H |