openbsd-ports/devel/boehm-gc/patches/patch-include_gc_config_macros_h

24 lines
868 B
Plaintext
Raw Normal View History

$OpenBSD: patch-include_gc_config_macros_h,v 1.1 2007/07/14 22:16:17 kili Exp $
--- include/gc_config_macros.h.orig Mon Jul 2 14:21:33 2007
+++ include/gc_config_macros.h Thu Jul 12 09:56:42 2007
@@ -65,7 +65,7 @@
defined(GC_DGUX386_THREADS) || defined(GC_DARWIN_THREADS) || \
defined(GC_AIX_THREADS) || defined(GC_NETBSD_THREADS) || \
(defined(GC_WIN32_THREADS) && defined(__CYGWIN32__)) || \
- defined(GC_GNU_THREADS)
+ defined(GC_GNU_THREADS) || defined(GC_OPENBSD_THREADS)
# define GC_PTHREADS
# endif
@@ -100,6 +100,10 @@
# endif
# if defined(__APPLE__) && defined(__MACH__)
# define GC_DARWIN_THREADS
+# define GC_PTHREADS
+# endif
+# if !defined(GC_PTHREADS) && defined(__OpenBSD__)
+# define GC_OPENBSD_THREADS
# define GC_PTHREADS
# endif
# if !defined(GC_PTHREADS) && (defined(__FreeBSD__) || defined(__DragonFly__))