Differences From Artifact [db10623ed83eba41]:
- File
src/win32/powrprof.d
- 2015-04-21 10:46:55 - part of checkin [4e2933c620] on branch trunk - Rebased to the latest verson dmd 2.067. Not yet verified the outcome. (user: kinaba) [annotate]
To Artifact [4256acef1917a8cc]:
- File
src/win32/powrprof.d
-
2015-05-05 06:49:05
- part of checkin
[9b639cf2d6]
on branch trunk
- Working version for update to 2.067.
The problem was __gshared. Replacing it with TLS fixed the issue. Remaining problem is that "hack.d"'s CloseHandle hack is not working anymore.
(user: kinaba) [annotate]
-
2015-05-05 06:49:05
- part of checkin
[9b639cf2d6]
on branch trunk
- Working version for update to 2.067.
5 5 * *
6 6 * Translated from MinGW Windows headers *
7 7 * by Stewart Gordon *
8 8 * *
9 9 * Placed into public domain *
10 10 \***********************************************************************/
11 11 module win32.powrprof;
12 -pragma(lib, "powrprof.lib");
12 +pragma(lib, "powrprof");
13 13
14 14 private import win32.windef;
15 15 private import win32.ntdef;
16 16
17 17 // FIXME: look up Windows version support
18 18
19 19 const ULONG