September 30, 2012 [D-runtime] [D-Programming-Language/druntime] 306fe9: Move place of 'import core.sys.posix.sys.mman'. | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/druntime Commit: 306fe9aa9782e2b1fadbb53c95549d64af19dd5f https://github.com/D-Programming-Language/druntime/commit/306fe9aa9782e2b1fadbb53c95549d64af19dd5f Author: kai <kai@redstar.de> Date: 2012-09-08 (Sat, 08 Sep 2012) Changed paths: M src/core/thread.d Log Message: ----------- Move place of 'import core.sys.posix.sys.mman'. The 2nd import of module core.sys.posix.sys.mman is moved in an else block. As result, method freeStack uses the same traits as method allocStack. Background is that the early import creates a reference to the Posix module on Windows. This gives an linker error on Windows if the Posix module is not compiled. Commit: 54751e318b2e31c5af874e570d88e5cc0575271b https://github.com/D-Programming-Language/druntime/commit/54751e318b2e31c5af874e570d88e5cc0575271b Author: Andrei Alexandrescu <andrei@erdani.com> Date: 2012-09-30 (Sun, 30 Sep 2012) Changed paths: M src/core/thread.d Log Message: ----------- Merge pull request #297 from redstar/threadimport Move place of 'import core.sys.posix.sys.mman'. Compare: https://github.com/D-Programming-Language/druntime/compare/e16ce9eb8f80...54751e318b2e |
Copyright © 1999-2021 by the D Language Foundation