view src/common.h @ 59:7d5c637aaafb

General cleanup and code fixes. Use autoscan to cleanup our autoconf system. Use autoconf to detect when we need to use our XGetopt files and other header files. Decode BCC field. Fix missing LE32_CPU byte swapping for FILETIME types.
author Carl Byington <carl@five-ten-sg.com>
date Thu, 14 Feb 2008 14:55:32 -0800
parents b2a7f2e0926a
children 0f1492b7fe8b
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 // FILETIME_DEFINED
#endif // _WIN32
#endif // __COMMON_H