summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/Event/Windows.hsc
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-12-18 19:29:13 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-01-15 03:41:16 -0500
commite2b60be8472ad5b7b6ef2b265b4a06d1b2b67c7d (patch)
treea01e4825b950e2dd910a1b47a3dfe647633e1808 /libraries/base/GHC/Event/Windows.hsc
parent52a4f5ab44a7d4c89189b9132a5560cb85d18714 (diff)
downloadhaskell-e2b60be8472ad5b7b6ef2b265b4a06d1b2b67c7d.tar.gz
rts: Consolidate RtsSymbols from libc
Previously (9ebda74ec5331911881d734b21fbb31c00a0a22f) `environ` was added to `RtsSymbols` to ensure that environment was correctly propagated when statically linking. However, this introduced #20577 since platforms are inconsistent in whether they provide a prototype for `environ`. I fixed this by providing a prototype but while doing so dropped symbol-table entry, presumably thinking that it was redundant due to the entry in the mingw-specific table. Here I reintroduce the symbol table entry for `environ` and move libc symbols shared by Windows and Linux into a new macro, `RTS_LIBC_SYMBOLS`, avoiding this potential confusion.
Diffstat (limited to 'libraries/base/GHC/Event/Windows.hsc')
0 files changed, 0 insertions, 0 deletions