WIN32 -> _WIN32

master
Andrew Kelley 2019-07-17 16:10:54 -04:00
parent 95e04e3874
commit 3879bebc37
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ ATTRIBUTE_NORETURN
ATTRIBUTE_PRINTF(1, 2)
void zig_panic(const char *format, ...);
#ifdef WIN32
#ifdef _WIN32
#define __func__ __FUNCTION__
#endif

View File

@ -48,7 +48,7 @@ enum ZigClangAPValue_ValueKind {
struct ZigClangAPValue {
enum ZigClangAPValue_ValueKind Kind;
// experimentally-derived size of clang::APValue::DataType
#if defined(WIN32) && defined(_MSC_VER)
#if defined(_WIN32) && defined(_MSC_VER)
char Data[52];
#else
char Data[68];