summaryrefslogtreecommitdiff
path: root/textproc/xapian/patches/patch-aa
blob: 9ae7f18ae06e1b99ad8b9dd6dc1f87662bf24054 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-aa,v 1.1 2009/11/24 21:57:53 agc Exp $

provide a stringise function for systems with 64-bit time_t's.

--- common/utils.h	2009/11/24 21:19:07	1.1
+++ common/utils.h	2009/11/24 21:19:49
@@ -52,10 +52,9 @@
 XAPIAN_VISIBILITY_DEFAULT
 string om_tostring(unsigned long int a);
 
-#ifdef __WIN32__
 /// Convert a 64 bit integer to a string
-string om_tostring(__int64 a);
-#endif
+XAPIAN_VISIBILITY_DEFAULT
+string om_tostring(long long a);
 
 /// Convert a double to a string
 XAPIAN_VISIBILITY_DEFAULT