aboutsummaryrefslogtreecommitdiffstats
path: root/include/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/types.h')
-rw-r--r--include/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/types.h b/include/types.h
index 8abfa6e87..383f01dc5 100644
--- a/include/types.h
+++ b/include/types.h
@@ -101,7 +101,7 @@ typedef unsigned long u32;
*/
#ifndef HAVE_U64_TYPEDEF
#undef u64 /* maybe there is a macro with this name */
-#if SIZEOF_UINT64_T == 8
+#if SIZEOF_UINT64_T == 8 && defined(UINT64_C)
typedef uint64_t u64;
#define U64_C(c) (UINT64_C(c))
#define HAVE_U64_TYPEDEF