]> granicus.if.org Git - gc/commit
Fix Solaris/sparc detection in case of strict C compliance is enforced
authorIvan Maidanski <ivmai@mail.ru>
Wed, 23 Nov 2016 01:47:19 +0000 (04:47 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 23 Nov 2016 01:47:19 +0000 (04:47 +0300)
commit7f82ed2046cbc4bb594e7c2162d40c819daee111
treea8419285dbc18bd0ff6f02317a673e84452ccef7
parent7394bc1af42c8808394f90a7635014e0996269af
Fix Solaris/sparc detection in case of strict C compliance is enforced

* include/gc_config_macros.h [__i386__ || __amd64__] (GC_SOLARIS_THREADS):
Define also if __sun is defined (treat __sun as a synonym to sun).
* include/private/gcconfig.h [__i386__ || __amd64] (SOLARIS):
Likewise.
* include/gc_config_macros.h [sun] (GC_SOLARIS_THREADS): Define also
if __amd64 is defined (treat __amd64 as a synonym to __amd64__).
* include/gc_config_macros.h [sparc && unix] (DRSNX): Do not define if
SPARC and SOLARIS are already defined.
include/gc_config_macros.h
include/private/gcconfig.h