pkgsrc/devel/stlport/patches/patch-am
mrauch 6db979c8d5 Update to version 4.6:
* support for compilation with gcc3 added
* ANSI conformance fixes
* smaller bugfixes and performance optimisations
   see etc/ChangeLog for a full list

E-mail to MAINTAINER bounces, therefore reset to default value
2004-01-05 22:14:18 +00:00

22 lines
946 B
Text

$NetBSD: patch-am,v 1.1 2004/01/05 22:14:19 mrauch Exp $
--- stlport/stl/_threads.h.orig 2003-10-22 19:58:59.000000000 +0200
+++ stlport/stl/_threads.h
@@ -393,7 +393,7 @@ class _STLP_CLASS_DECLSPEC _STLP_mutex_R
# if defined(_STLP_UITHREADS)
,_id( __STATIC_CAST(thread_t,-1) )
# elif defined(_STLP_PTHREADS)
-# if !defined(__FreeBSD__) && !defined(__DECCXX)
+# if !defined(__FreeBSD__) && !defined(__DECCXX) && !defined(__NetBSD__)
,_id( __STATIC_CAST(pthread_t,-1) )
# else
,_id( __STATIC_CAST(pthread_t,0) )
@@ -434,7 +434,7 @@ class _STLP_CLASS_DECLSPEC _STLP_mutex_R
# if defined(_STLP_UITHREADS)
_id = __STATIC_CAST(thread_t,-1);
# elif defined(_STLP_PTHREADS)
-# if !defined(__FreeBSD__) && !defined(__DECCXX)
+# if !defined(__FreeBSD__) && !defined(__DECCXX) && !defined(__NetBSD__)
_id = __STATIC_CAST(pthread_t,-1);
# else
_id = __STATIC_CAST(pthread_t,0);