Skip to content

Commit 76ef2bc

Browse files
Fix linux build
Macro collision between `pal/inc/rt/sal.h` and `/include/c++/12/bits/parse_numbers.h` #undef `__valid`
1 parent 4c09a12 commit 76ef2bc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bin/ch/WScriptJsrt.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
//-------------------------------------------------------------------------------------------------------
22
// Copyright (C) Microsoft Corporation and contributors. All rights reserved.
3-
// Copyright (c) 2021 ChakraCore Project Contributors. All rights reserved.
3+
// Copyright (c) ChakraCore Project Contributors. All rights reserved.
44
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
55
//-------------------------------------------------------------------------------------------------------
66
#include "stdafx.h"
77
#include "PlatformAgnostic/ChakraICU.h"
8+
#ifdef __valid
9+
#undef __valid
10+
#endif
811
#if defined(__APPLE__)
912
#ifdef ctime
1013
#undef ctime

0 commit comments

Comments
 (0)