mirror of
https://github.com/dlang/dmd.git
synced 2025-04-27 05:30:13 +03:00
I should just not code when I'm this tired :p Changed type type of _tlsstart and _tlsend back to int from size_t, since it's the address of these values that matters.
This commit is contained in:
parent
dcddcbcaea
commit
52ba4f7f76
1 changed files with 8 additions and 8 deletions
|
@ -99,14 +99,14 @@ version( Windows )
|
|||
// these are defined in dm\src\win32\tlsseg.asm by DMC.
|
||||
extern (C)
|
||||
{
|
||||
extern __thread size_t _tlsstart;
|
||||
extern __thread size_t _tlsend;
|
||||
extern __thread int _tlsstart;
|
||||
extern __thread int _tlsend;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t _tlsstart;
|
||||
alias _tlsstart _tlsend;
|
||||
int _tlsstart;
|
||||
alias _tlsstart _tlsend;
|
||||
}
|
||||
|
||||
|
||||
|
@ -189,14 +189,14 @@ else version( Posix )
|
|||
{
|
||||
extern (C)
|
||||
{
|
||||
extern __thread size_t _tlsstart;
|
||||
extern __thread size_t _tlsend;
|
||||
extern __thread int _tlsstart;
|
||||
extern __thread int _tlsend;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
size_t _tlsstart;
|
||||
alias _tlsstart _tlsend;
|
||||
int _tlsstart;
|
||||
alias _tlsstart _tlsend;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue