Skip to content

Commit

Permalink
Add Serenity OS to list of platforms with POSIX threads in configure
Browse files Browse the repository at this point in the history
(cherry-pick of 8a007e7 from SerenityOS/serenity)

Issue #685 (bdwgc).

* configure.ac [$THREADS==posix && $host==*-*-serenity*] (GC_THREADS,
_REENTRANT): Define C macro.
* configure.ac [$THREADS==posix && $host==*-*-serenity*]
(use_parallel_mark, use_thread_local_alloc, default_threadlibs): Set
variable.
  • Loading branch information
petelliott authored and ivmai committed Dec 26, 2024
1 parent 2cd0f5e commit 6f8945f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ case "$THREADS" in
*-*-aix* | *-*-android* | *-*-cygwin* | *-*-darwin* | *-*-dragonfly* | \
*-*-freebsd* | *-*-haiku* | *-*-hpux11* | *-*-irix* | \
*-*-kfreebsd*-gnu | *-*-gnu* | *-*-*linux* | *-*-msys* | *-*-nacl* | \
*-*-netbsd* | *-*-openbsd* | *-*-osf* | *-*-solaris*)
*-*-netbsd* | *-*-openbsd* | *-*-osf* | *-*-serenity* | *-*-solaris*)
AC_DEFINE(GC_THREADS)
AC_DEFINE([_REENTRANT], [1],
[Required define if using POSIX threads.])
Expand Down

0 comments on commit 6f8945f

Please sign in to comment.