view src/common.h @ 73:3cb02cb1e6cd stable-0-6-10

Patch from Robert Simpson to fix doubly-linked list in the cache_ptr code, and allow arrays of unicode strings (without converting them). More changes for Fedora packaging (#434727) Fixes for const correctness.
author Carl Byington <carl@five-ten-sg.com>
date Thu, 29 May 2008 18:51:02 -0700
parents 7d5c637aaafb
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