Use __declspec(thread) on Visual Studio
This commit is contained in:
parent
b84676c217
commit
b9cbbef03b
@ -64,8 +64,12 @@ BOOLEAN NTAPI RtlGenRandom(PVOID RandomBuffer, ULONG RandomBufferLength);
|
||||
#endif
|
||||
|
||||
#ifndef TLS
|
||||
# ifdef _WIN32
|
||||
# define TLS __declspec(thread)
|
||||
# else
|
||||
# define TLS
|
||||
# endif
|
||||
#endif
|
||||
|
||||
typedef struct Salsa20RandomGlobal_ {
|
||||
int initialized;
|
||||
|
Loading…
Reference in New Issue
Block a user