Mercurial > libpst
diff src/libpst.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 | ed2a260bbb98 |
children | 6395ced2b8b2 |
line wrap: on
line diff
--- a/src/libpst.h Fri Jan 16 15:31:11 2009 -0800 +++ b/src/libpst.h Sat Jan 31 12:12:36 2009 -0800 @@ -10,26 +10,26 @@ #ifndef LIBPST_H #define LIBPST_H -#ifndef _MSC_VER +#ifndef _WIN32 #include <stdint.h> #include <inttypes.h> #ifndef FILETIME_DEFINED - #define FILETIME_DEFINED - //Win32 Filetime struct - copied from WINE - typedef struct { - uint32_t dwLowDateTime; - uint32_t dwHighDateTime; - } FILETIME; + #define FILETIME_DEFINED + //Win32 Filetime struct - copied from WINE + typedef struct { + uint32_t dwLowDateTime; + uint32_t dwHighDateTime; + } FILETIME; #endif #endif // According to Jan Wolter, sys/param.h is the most portable source of endian // information on UNIX systems. see http://www.unixpapa.com/incnote/byteorder.html -#ifdef _MSC_VER +#ifdef _WIN32 #define BYTE_ORDER LITTLE_ENDIAN #else #include <sys/param.h> -#endif // defined _MSC_VER +#endif // defined _WIN32 #if BYTE_ORDER == BIG_ENDIAN # define LE64_CPU(x) \