ldc-developers/druntime — pull request #2 by dansanduleac (2012-06-02 14:24:57+00:00)
Title: Fix issue 101

Fix [Issue 101](https://github.com/ldc-developers/ldc/issues/101). Now compiles, threads work on OSX Lion 10.7.4, 64-bit, compiled from ldc-developers/ldc:master.

Revert upstream "fix Issue 4854 - Regression(2.047, Mac 10.5 only) writefln Segmentation fault if no globals", which was only intended for DMD/druntime.
As noted in the conflict, some changes have remained in `thread.d`, but ldc-developers/druntime@fe5ba38abff4c6b787f75b776ea9612e1c6780fc makes them inactive in LDC. It might be better to undo both of them completely.

This reverts commit 73cf2c150665cb17d9365a6e3d6cf144d76312d6.

Conflicts:

src/core/thread.d : kept Walter's changes but only if OsxManualTls
maybe should remove those completely as they aren't needed for
druntime-ldc.