summaryrefslogtreecommitdiff
path: root/devel/libstash/patches/patch-ac
blob: 0cd55dd356bb6f4e59624c424f26614aa0dbdb14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$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) \