fix visual studio attribute definitions

This commit is contained in:
Sahir Hoda 2021-10-18 18:53:15 +00:00
parent c282aa2dbe
commit 784353a960

View File

@ -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