# HG changeset patch # User diego # Date 1134348522 0 # Node ID a5445a31a24fd57c9655a307ebd8413c631fea3f # Parent 362408e1de851763da29239e98a79e81ea644f81 Define EMULATE_INTTYPES for all windows-systems, except Cygwin and MinGW to simplify usage on Windows. patch by Fredrik Orderud fredrik - . - orderud - @ - idi - . - ntnu - . - no diff -r 362408e1de85 -r a5445a31a24f common.h --- a/common.h Sat Dec 10 17:14:24 2005 +0000 +++ b/common.h Mon Dec 12 00:48:42 2005 +0000 @@ -10,6 +10,10 @@ # define CONFIG_WIN32 #endif +#if defined(WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(EMULATE_INTTYPES) +# define EMULATE_INTTYPES +#endif + #ifndef M_PI #define M_PI 3.14159265358979323846 #endif