diff options
author | Emeka Nkurumeh <emekankurumeh@outlook.com> | 2020-04-08 19:22:31 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-05-13 02:05:51 -0400 |
commit | 90e38b8139c10854280da56664c040120256bacc (patch) | |
tree | e2cae0a9bce13f3f339b4d2cca62bcbfa361fdef /includes | |
parent | cb22348fb92411c66f1a39fe2c34b167a9926bc7 (diff) | |
download | haskell-90e38b8139c10854280da56664c040120256bacc.tar.gz |
fix printf warning when using with ghc with clang on mingw
Diffstat (limited to 'includes')
-rw-r--r-- | includes/rts/Messages.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/rts/Messages.h b/includes/rts/Messages.h index a56741e0a8..dbaf37bbc7 100644 --- a/includes/rts/Messages.h +++ b/includes/rts/Messages.h @@ -18,7 +18,7 @@ #include <stdarg.h> -#if defined(mingw32_HOST_OS) +#if defined(mingw32_HOST_OS) && !defined(__clang__) /* On Win64, if we say "printf" then gcc thinks we are going to use MS format specifiers like %I64d rather than %llu */ #define PRINTF gnu_printf |