]> granicus.if.org Git - gc/commit
Fix Cygwin64 build
authorYuki Okumura <mjt@cltn.org>
Tue, 2 Feb 2016 13:49:11 +0000 (22:49 +0900)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 3 Feb 2016 20:47:01 +0000 (23:47 +0300)
commit4e24d219d29abb2b111bb9a9ccb13c3f149a855a
tree35845fd7e0640c2a063b790c541c478857339c40
parent989056833ff24691cc26c8bc8b9ba951a08b4a66
Fix Cygwin64 build

On x86_64, Cygwin symbols do not have leading underscore anymore,
so an additional underscore is needed on linker-generated symbols
access from C.

* include/gc.h (GC_DATASTART, GC_DATAEND): Prefix _data_start__,
_bss_start__, _data_end__ and _bss_end__ with an extra underscore if
__x86_64__ (only if __CYGWIN__); reformat code.
include/gc.h