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:
Sean Kelly 2008-12-08 21:24:30 +00:00
parent dcddcbcaea
commit 52ba4f7f76

View file

@ -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;
}