Mercurial > libpst
annotate src/common.h @ 42:7a97f50c39c5 stable-0-5-12 **FUNKY**
security fix for potential buffer overrun in lz decompress
author | carl |
---|---|
date | Tue, 02 Oct 2007 16:10:36 -0700 |
parents | c508ee15dfca |
children | b2a7f2e0926a |
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 { | |
17 unsigned int dwLowDateTime; | |
18 unsigned int dwHighDateTime; | |
19 } FILETIME; | |
20 # endif | |
21 #endif // _WIN32 | |
22 #endif // __COMMON_H |