diff options
author | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-07 13:45:03 +0000 |
---|---|---|
committer | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-07 13:45:03 +0000 |
commit | da22c41abba8c6d2fddbe78b50f2343f9f1cc79c (patch) | |
tree | 461e6e015d8436bcc9d9a9eb507a084852127558 /libstdc++-v3/config.h.in | |
parent | 714ddaba8928b6af77f148c4744100b09426ae43 (diff) | |
download | gcc-da22c41abba8c6d2fddbe78b50f2343f9f1cc79c.tar.gz |
* acinclude.m4 (GLIBCXX_CHECK_SC_NPROC_ONLN): Define.
(GLIBCXX_CHECK_PTHREADS_NUM_PROCESSORS_NP): Define.
(GLIBCXX_CHECK_SYSCTL_HW_NCPU): Define.
* configure.ac: Use new checks.
* configure: Regenerate.
* config.h.in: Regenerate.
* src/thread.cc: Check new config macros.
* testsuite/lib/libstdc++.exp: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181084 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/config.h.in')
-rw-r--r-- | libstdc++-v3/config.h.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libstdc++-v3/config.h.in b/libstdc++-v3/config.h.in index 82ccd4e1a9d..7215a7fec62 100644 --- a/libstdc++-v3/config.h.in +++ b/libstdc++-v3/config.h.in @@ -831,6 +831,9 @@ /* Define if NLS translations are to be used. */ #undef _GLIBCXX_USE_NLS +/* Define if pthreads_num_processors_np is available in <pthread.h>. */ +#undef _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP + /* Define if /dev/random and /dev/urandom are available for the random_device of TR1 (Chapter 5.1). */ #undef _GLIBCXX_USE_RANDOM_TR1 @@ -841,6 +844,12 @@ /* Define if _SC_NPROCESSORS_ONLN is available in <unistd.h>. */ #undef _GLIBCXX_USE_SC_NPROCESSORS_ONLN +/* Define if _SC_NPROC_ONLN is available in <unistd.h>. */ +#undef _GLIBCXX_USE_SC_NPROC_ONLN + +/* Define if sysctl(), CTL_HW and HW_NCPU are available in <sys/sysctl.h>. */ +#undef _GLIBCXX_USE_SYSCTL_HW_NCPU + /* Define if code specialized for wchar_t should be used. */ #undef _GLIBCXX_USE_WCHAR_T |