diff options
author | Ian Lynagh <igloo@earth.li> | 2012-06-17 21:49:18 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-06-17 21:49:18 +0100 |
commit | 7c987d10f012e2f175344fa2c28b36f073bda293 (patch) | |
tree | bf02e1d110e3eca4e373a0b0c98a158688c0352e /rts/PosixSource.h | |
parent | d0bfa810f6a5f92d672cf3822494701cb5aa3ac9 (diff) | |
download | haskell-7c987d10f012e2f175344fa2c28b36f073bda293.tar.gz |
Switch to using the 'rubenvb' mingw builds
Diffstat (limited to 'rts/PosixSource.h')
-rw-r--r-- | rts/PosixSource.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/PosixSource.h b/rts/PosixSource.h index 56e08abb0e..da7b69e85d 100644 --- a/rts/PosixSource.h +++ b/rts/PosixSource.h @@ -25,6 +25,10 @@ // On both GNU libc and FreeBSD, _ISOC99_SOURCE is implied by // _XOPEN_SOURCE==600, but on Solaris it is an error to omit it. #define _ISOC99_SOURCE +// Defining __USE_MINGW_ANSI_STDIO is the most portable way to tell +// mingw that we want to use the standard %lld style format specifiers, +// rather than the Windows %I64d style +#define __USE_MINGW_ANSI_STDIO 1 #endif #if defined(darwin_HOST_OS) |