view 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
line wrap: on
line source


#ifndef __COMMON_H
#define __COMMON_H

#ifndef _WIN32
  typedef unsigned int DWORD;
  typedef unsigned short int WORD;
  typedef unsigned char BYTE;
  typedef unsigned int UINT32;

# pragma pack (1)

# ifndef FILETIME_DEFINED
# define FILETIME_DEFINED
  /*Win32 Filetime struct - copied from WINE*/
  typedef struct {
	  unsigned int dwLowDateTime;
    unsigned int dwHighDateTime;
  } FILETIME;
# endif
#endif // _WIN32
#endif // __COMMON_H