view src/common.h @ 120:6395ced2b8b2

disable building pst2dii on cygwin consistent ordering of our include files all system includes protected by ifdef HAVE_ from autoconf
author Carl Byington <carl@five-ten-sg.com>
date Sun, 01 Feb 2009 11:24:22 -0800
parents 0f1492b7fe8b
children bdb38b434c0a
line wrap: on
line source


#ifndef __COMMON_H
#define __COMMON_H

#ifndef _WIN32
    typedef uint32_t  DWORD;
    typedef uint16_t   WORD;
    typedef uint8_t    BYTE;
    typedef uint32_t UINT32;

# pragma pack (1)

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

#endif // _WIN32
#endif // __COMMON_H