2a8b055632
macro. This could happen with UNIX98-type systems, such as the code on our netbsd-1-5 branch, and would prevent this package from building on such systems. Problem also reported to the original author.
17 lines
515 B
Text
17 lines
515 B
Text
$NetBSD: patch-ak,v 1.1 2003/12/01 14:16:17 he Exp $
|
|
|
|
--- include/types.h.orig Wed Jul 30 09:44:43 2003
|
|
+++ include/types.h Sun Nov 30 12:04:15 2003
|
|
@@ -103,7 +103,12 @@
|
|
#undef u64 /* maybe there is a macro with this name */
|
|
#if SIZEOF_UINT64_T == 8
|
|
typedef uint64_t u64;
|
|
+#ifdef UINT64_C
|
|
#define U64_C(c) (UINT64_C(c))
|
|
+#else
|
|
+ /* make a best guess, could happen with UNIX98 <inttypes.h> */
|
|
+#define U64_C(c) (c)
|
|
+#endif
|
|
#define HAVE_U64_TYPEDEF
|
|
#elif SIZEOF_UNSIGNED_INT == 8
|
|
typedef unsigned int u64;
|