Format memory warning in human-friendly way.
PiperOrigin-RevId: 486610408 Change-Id: I6beecb12059e69f4407e921d20efc54ce6b3f491
This commit is contained in:
committed by
Copybara-Service
parent
fc24097b92
commit
fd4d47e4a5
@@ -33,6 +33,13 @@
|
||||
#define mjMAX(a, b) (((a) > (b)) ? (a) : (b))
|
||||
#define mjMIN(a, b) (((a) < (b)) ? (a) : (b))
|
||||
|
||||
// thread local macro
|
||||
#ifdef _MSC_VER
|
||||
#define mjTHREADLOCAL __declspec(thread)
|
||||
#else
|
||||
#define mjTHREADLOCAL _Thread_local
|
||||
#endif
|
||||
|
||||
|
||||
//-------------------------- timer macros ----------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user