summaryrefslogtreecommitdiff
path: root/editors/abiword/patches/patch-af
blob: 421999fdb008cf2a2f48287f28ed50f1370d6f6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-af,v 1.5 2001/05/24 04:28:20 jlam Exp $

--- src/other/spell/ispell_def.h.orig	Sat Mar 24 20:30:02 2001
+++ src/other/spell/ispell_def.h
@@ -2,3 +2,13 @@
 #ifndef	INPUTWORDLEN
 #define INPUTWORDLEN 100
 #endif
+
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#define PTRSIZE intptr_t
+#else
+#define PTRSIZE int
+#endif
+#if !defined(HAVE_INTTYPES_H) && defined(__alpha) && defined(__NetBSD__)
+#define PTRSIZE long
+#endif /* hack for 1.3 */