]> granicus.if.org Git - gc/commit
Remove GC_GNU_THREADS macro (HURD)
authorIvan Maidanski <ivmai@mail.ru>
Wed, 3 May 2017 09:04:16 +0000 (12:04 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 3 May 2017 09:04:16 +0000 (12:04 +0300)
commitf62e6820057ce1b3b60bdc62311c340d588ce44a
treee79367ddcfeeffed94b7de4a0ee0347e98b69ebf
parenta8d8480c011c4a066536fdf1809bf014b9cc991b
Remove GC_GNU_THREADS macro (HURD)
(code refactoring)

* CMakeLists.txt [CMAKE_USE_PTHREADS_INIT && *-*-gnu*] (GC_GNU_THREADS):
Define GC_THREADS macro instead.
* configure.ac [THREADS=posix && *-*-gnu*] (GC_GNU_THREADS): Likewise.
* configure.ac (GC_GNU_THREADS): Remove AH_TEMPLATE.
* include/gc_config_macros.h: Remove check for GC_GNU_THREADS.
* include/private/gcconfig.h [!CPPCHECK]: Remove consistency check for
GC_GNU_THREADS.
* pthread_support.c [GC_PTHREADS && !GC_WIN32_THREADS] (GC_get_nprocs):
Replace GC_GNU_THREADS to HURD macro check.
* tools/threadlibs.c (main): Replace GC_GNU_THREADS to HURD and
GC_THREADS macros check.
CMakeLists.txt
configure.ac
include/gc_config_macros.h
include/private/gcconfig.h
pthread_support.c
tools/threadlibs.c