`Win32` may be undefined when MSVC is used, see: https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros?redirectedfrom=MSDN&view=msvc-160 Signed-off-by: Karol Trzcinski <karolx.trzcinski@intel.com>
This commit is contained in:
parent
7f47108bb3
commit
e339afe375
|
|
@ -7,7 +7,7 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#ifndef WIN32
|
||||
#ifndef _WIN32
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <xml_parse_utils.h>
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
#include "transformations/rt_info/primitives_priority_attribute.hpp"
|
||||
#include "file_utils.h"
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
#define stat _stat
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue