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