summaryrefslogtreecommitdiff
path: root/editors/abiword/patches/patch-af
blob: 68cd3a69896591069cf383c75c875defd5270af5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-af,v 1.6 2001/08/10 04:50:08 jlam Exp $

--- src/other/spell/xp/ispell_def.h.orig	Sun Apr 15 12:01:24 2001
+++ src/other/spell/xp/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 */