summaryrefslogtreecommitdiff
path: root/graphics/geomview/patches/patch-ag
blob: 187908b69e79b0ec072bb0c3f9dfa27aead0ed4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ag,v 1.1 2001/07/04 03:08:58 jlam Exp $

--- src/lib/oogl/util/mallocp.c.orig	Fri Sep  1 18:38:16 2000
+++ src/lib/oogl/util/mallocp.c
@@ -38,7 +38,7 @@
  */
 void *OOG_CurSM		= NULL;
 
-#if defined(sgi) || AIX
+#if defined(sgi) || (defined(AIX) && AIX)
 void *(*OOG_NewP)(size_t)		= malloc;
 void  (*OOGLFree)(void *)		= free;
 void *(*OOG_RenewP)(void *, size_t)	= realloc;