Introduce new logging API, fixes #858
PiperOrigin-RevId: 930744288 Change-Id: I6ec1203b55c031390f3eef23192e2337508ce886
This commit is contained in:
committed by
Copybara-Service
parent
a2abaf7aef
commit
58f6d52491
@@ -33,6 +33,12 @@
|
||||
#include <strings.h>
|
||||
#endif
|
||||
|
||||
// Environment variable handling.
|
||||
#ifdef _WIN32
|
||||
#define setenv(name, value, overwrite) _putenv_s(name, value)
|
||||
#define unsetenv(name) _putenv_s(name, "")
|
||||
#endif
|
||||
|
||||
// Switch-case fallthrough annotation.
|
||||
#if defined(__cplusplus)
|
||||
#define mjFALLTHROUGH [[fallthrough]]
|
||||
|
||||
Reference in New Issue
Block a user