9891f767a4
- Properly instantiate required templates. - Properly detect some functions (such as strtoul). - Do not use unavailable Mach threads.
13 lines
504 B
Text
13 lines
504 B
Text
$NetBSD: patch-ar,v 1.1 2006/01/20 11:36:18 jmmv Exp $
|
|
|
|
--- spgrove/threads.h.orig 2006-01-20 10:44:28.000000000 +0100
|
|
+++ spgrove/threads.h
|
|
@@ -141,7 +141,7 @@ private:
|
|
|
|
#endif /* _MSC_VER && _MT */
|
|
|
|
-#if (defined __MACH__) || (defined __GNU__)
|
|
+#if ((defined __MACH__) && (! defined __Darwin__) && (! defined __APPLE__)) || (defined __GNU__)
|
|
|
|
// For Mach, using C Threads. May or may not work as-is on your Mach-based OS.
|
|
// Written by Raf Schietekat <RfSchtkt@maze.ruca.ua.ac.be> on 1996-11-10.
|