view src/common.h @ 54:e109391424b5

some misc. cleanup and convert to mercurial source control
author carl@ns.five-ten-sg.com
date Thu, 31 Jan 2008 17:32:54 -0800
parents b2a7f2e0926a
children 7d5c637aaafb
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