view src/common.h @ 118:0f1492b7fe8b

patch from Fridrich Strba for building on mingw and general cleanup of autoconf files add processing for pst files of type 0x0f start adding support for properly building and installing libpst.so and the header files required to use it. remove version.h since the version number is now in config.h more const correctness issues regarding getopt()
author Carl Byington <carl@five-ten-sg.com>
date Sat, 31 Jan 2009 12:12:36 -0800
parents 7d5c637aaafb
children 6395ced2b8b2
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