fix visual studio attribute definitions
This commit is contained in:
parent
c282aa2dbe
commit
784353a960
@ -52,6 +52,7 @@ static void StartPhase(const char* name) {
|
||||
phase = name;
|
||||
}
|
||||
#ifdef _MSC_VER
|
||||
#define __attribute__(A)
|
||||
#pragma warning(push)
|
||||
#pragma warning (disable: 4996) // getenv security warning
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user