pkgsrc/devel/libstash/patches/patch-ac
2000-09-24 17:32:24 +00:00

24 lines
679 B
Text

$NetBSD: patch-ac,v 1.1 2000/09/24 17:32:26 hubertf Exp $
--- include/libstash/libstash.h.orig Sun Sep 24 13:24:41 2000
+++ include/libstash/libstash.h
@@ -91,15 +91,19 @@
typedef unsigned long cw_uint64_t;
# endif
+#ifndef _TYPE_SINT64_DEFINED
# if (SIZEOF_LONG_LONG == 8)
# define _TYPE_SINT64_DEFINED
typedef long long cw_sint64_t;
# endif
+#endif
+#ifndef _TYPE_UINT64_DEFINED
# if (SIZEOF_UNSIGNED_LONG_LONG == 8)
# define _TYPE_UINT64_DEFINED
typedef unsigned long long cw_uint64_t;
# endif
+#endif
# if (!defined(_TYPE_SINT8_DEFINED) || !defined(_TYPE_UINT8_DEFINED) \
|| !defined(_TYPE_SINT16_DEFINED) || !defined(_TYPE_UINT16_DEFINED) \