D-Programming-Language/druntime — pull request #381 by rainers (2013-01-11 22:46:37+00:00)
Title: Win64: fix DLL loading for multi threaded applications

This patch adjusts system internal structures like _SYSTEM_PROCESS_INFORMATION to Win64 pointer sizes.
In addition, getTEB now uses GS instead of FS for Win64.