Also deleted TLSInit.cpp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15607 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5af343b54b
commit
45b03b39c4
@ -1,20 +0,0 @@
|
||||
#include <TLS.h>
|
||||
#include <OS.h>
|
||||
|
||||
// XXX: this is an ugly hack because we don't support mutexes
|
||||
extern int32 gIRSInitKey;
|
||||
extern int32 gGaiStrerrorKey;
|
||||
|
||||
class TLSInit {
|
||||
public:
|
||||
TLSInit();
|
||||
};
|
||||
|
||||
TLSInit::TLSInit()
|
||||
{
|
||||
gIRSInitKey = tls_allocate();
|
||||
gGaiStrerrorKey = tls_allocate();
|
||||
}
|
||||
|
||||
|
||||
static TLSInit __tlsinit_hack;
|
Loading…
x
Reference in New Issue
Block a user