summaryrefslogtreecommitdiff
path: root/editors/abiword1/patches/patch-af
blob: d9d9e6b118e70a2cee663b181c16d09668d5c319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-af,v 1.1.1.1 2003/12/26 18:20:28 wiz 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 */