comparison src/libpst.c @ 130:e35fd42bac05

more cleanup of include files
author Carl Byington <carl@five-ten-sg.com>
date Thu, 05 Feb 2009 13:38:46 -0800
parents fc11b1d1ad34
children fd4297884319
comparison
equal deleted inserted replaced
129:fc11b1d1ad34 130:e35fd42bac05
5 * dave.s@earthcorp.com 5 * dave.s@earthcorp.com
6 */ 6 */
7 7
8 #include "define.h" 8 #include "define.h"
9 9
10
11 // switch to maximal packing for our own internal structures
12 // use the same code as in libpst.h
13 #ifdef _MSC_VER
14 #pragma pack(push, 1)
15 #endif
16 #if defined(__GNUC__) || defined (__SUNPRO_C) || defined(__SUNPRO_CC)
17 #pragma pack(1)
18 #endif
19
20
10 #define ASSERT(x) { if(!(x)) raise( SIGSEGV ); } 21 #define ASSERT(x) { if(!(x)) raise( SIGSEGV ); }
11
12 22
13 #define INDEX_TYPE32 0x0E 23 #define INDEX_TYPE32 0x0E
14 #define INDEX_TYPE32A 0x0F // unknown, but assumed to be similar for now 24 #define INDEX_TYPE32A 0x0F // unknown, but assumed to be similar for now
15 #define INDEX_TYPE64 0x17 25 #define INDEX_TYPE64 0x17
16 #define INDEX_TYPE64A 0x15 // http://sourceforge.net/projects/libpff/ 26 #define INDEX_TYPE64A 0x15 // http://sourceforge.net/projects/libpff/