Differences From Artifact [93c2ee9c88a504a9]:
- File
src/win32/iptypes.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 [f81fbdd33cced747]:
- File
src/win32/iptypes.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.
10 \***********************************************************************/ 10 \***********************************************************************/
11 module win32.iptypes; 11 module win32.iptypes;
12 12
13 import win32.windef; 13 import win32.windef;
14 version(Tango){ 14 version(Tango){
15 private import tango.stdc.time; 15 private import tango.stdc.time;
16 }else{ 16 }else{
> 17 version (D_Version2)
> 18 import core.stdc.time;
> 19 else
17 private import std.c.time; | 20 import std.c.time;
18 } 21 }
19 //#include <sys/types.h> 22 //#include <sys/types.h>
20 23
21 const size_t 24 const size_t
22 DEFAULT_MINIMUM_ENTITIES = 32, 25 DEFAULT_MINIMUM_ENTITIES = 32,
23 MAX_ADAPTER_ADDRESS_LENGTH = 8, 26 MAX_ADAPTER_ADDRESS_LENGTH = 8,
24 MAX_ADAPTER_DESCRIPTION_LENGTH = 128, 27 MAX_ADAPTER_DESCRIPTION_LENGTH = 128,