summaryrefslogtreecommitdiff
path: root/config/libc.in
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2016-11-13 18:33:24 (GMT)
committerGitHub <noreply@github.com>2016-11-13 18:33:24 (GMT)
commit8fbe000639d408f61ba216bbeb42d4a55e45a00a (patch)
treedb7b5888c7f3202a59d23389ed643205e94a63e4 /config/libc.in
parent2d2bf76e9132693e6c7d424f646dc4c92eb17434 (diff)
parent2cc9e68596005f5e742b5aae0bb8b73cd15cf367 (diff)
Merge pull request #368 from dremon/master
MinGW: add C++11 posix threads support
Diffstat (limited to 'config/libc.in')
-rw-r--r--config/libc.in14
1 files changed, 12 insertions, 2 deletions
diff --git a/config/libc.in b/config/libc.in
index 4cc7530..e1eabd2 100644
--- a/config/libc.in
+++ b/config/libc.in
@@ -32,6 +32,10 @@ config LIBC_SUPPORT_THREADS_LT
bool
select LIBC_SUPPORT_THREADS_ANY
+config LIBC_SUPPORT_THREADS_POSIX
+ bool
+ select LIBC_SUPPORT_THREADS_ANY
+
config LIBC_SUPPORT_THREADS_NONE
bool
@@ -51,8 +55,9 @@ choice
bool
prompt "Threading implementation to use:"
default THREADS_NATIVE if LIBC_SUPPORT_THREADS_NATIVE
- default THREADS_THREADS_LT if LIBC_SUPPORT_THREADS_LT && ! LIBC_SUPPORT_THREADS_NATIVE
- default THREADS_NONE if ! LIBC_SUPPORT_THREADS_ANY
+ default THREADS_THREADS_LT if LIBC_SUPPORT_THREADS_LT
+ default THREADS_THREADS_POSIX if LIBC_SUPPORT_THREADS_POSIX
+ default THREADS_NONE
config THREADS_NATIVE
bool
@@ -70,6 +75,11 @@ config THREADS_LT
prompt "linuxthreads"
depends on LIBC_SUPPORT_THREADS_LT
+config THREADS_POSIX
+ bool
+ prompt "posix"
+ depends on LIBC_SUPPORT_THREADS_POSIX
+
config THREADS_NONE
bool
prompt "none"