summaryrefslogtreecommitdiff
path: root/devel/stlport/patches/patch-ag
blob: 63da87ea3d1226495b5eb08c4f868fe5efcb0660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ag,v 1.3 2002/08/25 19:22:41 jlam Exp $
--- stlport/typeinfo.orig	Sat Nov 10 19:38:11 2001
+++ stlport/typeinfo	Sat Nov 10 19:39:12 2001
@@ -23,7 +23,9 @@
 
 # ifndef __STL_NO_TYPEINFO
 
-# if defined (__GNUC__) && (__GNUC_MINOR__ > 7)
+# if defined (__NetBSD__)
+#  include <g++/typeinfo>
+# elif defined (__GNUC__) && (__GNUC_MINOR__ > 7)
 #  include <../include/typeinfo>
 # elif defined (__STL_NO_NEW_NEW_HEADER)
 #  include __STL_NATIVE_HEADER(typeinfo.h)