diff options
author | Kurt Miller <bsdkurt@gmail.com> | 2021-02-01 13:22:32 -0500 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2021-08-21 01:04:29 +0300 |
commit | 555b82ea9b5a874c6e7108b36e29728b93d125ab (patch) | |
tree | bc4f807d4183017ef4838ddac4f321c8a1bade14 /include | |
parent | 27296f49a0335599605c74a180ba27b4b392848a (diff) | |
download | bdwgc-555b82ea9b5a874c6e7108b36e29728b93d125ab.tar.gz |
Fix GC_OPENBSD_THREADS definition (OpenBSD/hppa)
Issue #347 (bdwgc).
Move the check for OpenBSD up so that GC_OPENBSD_THREADS is defined
correctly on hppa.
* include/gc_config_macros.h [GC_THREADS && !__linux__ && __OpenBSD__]
(GC_OPENBSD_THREADS): Define (even if __HPPA or hppa is defined).
Diffstat (limited to 'include')
-rw-r--r-- | include/gc_config_macros.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gc_config_macros.h b/include/gc_config_macros.h index e0b67716..14c65eee 100644 --- a/include/gc_config_macros.h +++ b/include/gc_config_macros.h @@ -83,13 +83,13 @@ #elif defined(GC_THREADS) # if defined(__linux__) # define GC_LINUX_THREADS +# elif defined(__OpenBSD__) +# define GC_OPENBSD_THREADS # elif defined(_PA_RISC1_1) || defined(_PA_RISC2_0) || defined(hppa) \ || defined(__HPPA) || (defined(__ia64) && defined(_HPUX_SOURCE)) # define GC_HPUX_THREADS # elif defined(__HAIKU__) # define GC_HAIKU_THREADS -# elif defined(__OpenBSD__) -# define GC_OPENBSD_THREADS # elif defined(__DragonFly__) || defined(__FreeBSD_kernel__) \ || (defined(__FreeBSD__) && !defined(SN_TARGET_ORBIS)) # define GC_FREEBSD_THREADS |