pkgsrc/databases/db3/patches/patch-ad
jschauma cc21798bb0 Start to make this work on (even older) IRIX: check for __sgi rather than sgi
This was originally reported in PR 28819 by Georg Schwarz for db4 and
also noted by Georg to apply to this package.
2005-02-27 21:50:26 +00:00

13 lines
293 B
Text

$NetBSD: patch-ad,v 1.1 2005/02/27 21:50:26 jschauma Exp $
--- ../include/db_185.in.orig Sun Feb 27 16:36:14 2005
+++ ../include/db_185.in Sun Feb 27 16:36:20 2005
@@ -72,7 +72,7 @@
* XXX
* SGI/IRIX already has a pgno_t.
*/
-#ifdef sgi
+#ifdef __sgi
#define pgno_t db_pgno_t
#endif