comparison src/define.h @ 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 2ec889a79e51
comparison
equal deleted inserted replaced
129:fc11b1d1ad34 130:e35fd42bac05
6 */ 6 */
7 7
8 #ifndef DEFINEH_H 8 #ifndef DEFINEH_H
9 #define DEFINEH_H 9 #define DEFINEH_H
10 10
11 #include "common.h"
12 #include "libpst.h" 11 #include "libpst.h"
13 #include "timeconv.h" 12 #include "timeconv.h"
14 #include "libstrfunc.h" 13 #include "libstrfunc.h"
15 #include "vbuf.h" 14 #include "vbuf.h"
16 15
376 #define PST_LE_GET_UINT8(p) (*(uint8_t const *)(p)) 375 #define PST_LE_GET_UINT8(p) (*(uint8_t const *)(p))
377 376
378 #define PST_LE_GET_INT8(p) (*(int8_t const *)(p)) 377 #define PST_LE_GET_INT8(p) (*(int8_t const *)(p))
379 378
380 379
381 // switch to maximal packing for our own internal structures
382 // use the same code as in common.h
383 #ifdef _MSC_VER
384 #pragma pack(push, 1)
385 #endif
386 #if defined(__GNUC__) || defined (__SUNPRO_C) || defined(__SUNPRO_CC)
387 #pragma pack(1)
388 #endif
389
390
391
392 #endif //DEFINEH_H 380 #endif //DEFINEH_H