diff options
author | Tamar Christina <tamar@zhox.com> | 2019-09-08 23:11:19 +0100 |
---|---|---|
committer | Tamar Christina <tamar@zhox.com> | 2019-10-20 16:21:10 +0100 |
commit | 4b431f334018eaef2cf36de3316025c68c922915 (patch) | |
tree | 7f85d5a1a6bc6d39e9a8c51fe33904ff61461a7e /includes/stg | |
parent | c4c9904b324736dc5d190a91418e8d8f564d4104 (diff) | |
download | haskell-4b431f334018eaef2cf36de3316025c68c922915.tar.gz |
Windows: Update tarballs to GCC 9.2 and remove MAX_PATH limit.
Diffstat (limited to 'includes/stg')
-rw-r--r-- | includes/stg/Types.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/includes/stg/Types.h b/includes/stg/Types.h index f270686ebc..08ba58c799 100644 --- a/includes/stg/Types.h +++ b/includes/stg/Types.h @@ -21,8 +21,15 @@ #pragma once #if defined(mingw32_HOST_OS) +# if defined(__USE_MINGW_ANSI_STDIO) +# if __USE_MINGW_ANSI_STDIO != 1 +# warning "Mismatch between __USE_MINGW_ANSI_STDIO definitions. \ +If using Rts.h make sure it is the first header included." +# endif +# else /* Inform mingw we want the ISO rather than Windows printf format specifiers. */ -#define __USE_MINGW_ANSI_STDIO 1 +# define __USE_MINGW_ANSI_STDIO 1 +#endif #endif /* ISO C 99 says: |