#812: Tweak to make the code compile with MSYS/MinGW.

v0.27.3
Andreas Huggel 13 years ago
parent 2c401ffa3d
commit cc061782d1

@ -61,13 +61,11 @@ EXIV2_RCSID("@(#) $Id$")
# include <unistd.h> // for getpid, stat # include <unistd.h> // for getpid, stat
#endif #endif
// MSVC doesn't provide mode_t, nlink_t #if defined WIN32 && !defined __CYGWIN__
#ifdef _MSC_VER // Windows doesn't provide mode_t, nlink_t
typedef unsigned short mode_t; typedef unsigned short mode_t;
typedef short nlink_t; typedef short nlink_t;
#endif
#if defined WIN32 && !defined __CYGWIN__
# include <windows.h> # include <windows.h>
# include <io.h> # include <io.h>
#endif #endif

Loading…
Cancel
Save