diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2023-01-29 16:17:51 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2023-01-29 16:17:51 +0100 |
commit | bfef0924f58eab930bdd826ac0132786abc32220 (patch) | |
tree | c37bbc77063f3477236ce4cb7d765794f2018555 /include/libHX/defs.h | |
parent | 8132c809273676b684f426ae8c0f8b1e6f40166e (diff) |
New upstream version 4.10upstream/4.10
Diffstat (limited to 'include/libHX/defs.h')
-rw-r--r-- | include/libHX/defs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libHX/defs.h b/include/libHX/defs.h index 49ca7d1..9d17019 100644 --- a/include/libHX/defs.h +++ b/include/libHX/defs.h @@ -213,15 +213,15 @@ static __inline__ new_type signed_cast(unsigned char *expr) # define container_of(v, s, m) containerof((v), s, m) #endif -#ifdef _WIN32 +#if !defined(_WIN32) || (defined(__USE_MINGW_ANSI_STDIO) && __USE_MINGW_ANSI_STDIO + 0 > 0) /* * Sufficiently old versions of the VC runtime do not even support %ll. */ -# define HX_LONGLONG_FMT "I64" -# define HX_SIZET_FMT "I" -#else # define HX_LONGLONG_FMT "ll" # define HX_SIZET_FMT "z" +#else +# define HX_LONGLONG_FMT "I64" +# define HX_SIZET_FMT "I" #endif #endif /* _LIBHX_DEFS_H */ |