aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2023-06-13 14:18:36 +0300
committerthegeorg <thegeorg@yandex-team.com>2023-06-13 14:18:36 +0300
commit965c3d7760fc9b38267cff838aeab00223831be3 (patch)
treedaacdb1d555ecb970f977caff884c288ce032a5f /build
parentbdcfb0d2296b0d3072100a4ba782d46c7980fbb7 (diff)
downloadydb-965c3d7760fc9b38267cff838aeab00223831be3.tar.gz
Port rXXXXXX and rXXXXXX on Windows
Diffstat (limited to 'build')
-rwxr-xr-xbuild/ymake_conf.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/ymake_conf.py b/build/ymake_conf.py
index 5390ec1616..36a5c55906 100755
--- a/build/ymake_conf.py
+++ b/build/ymake_conf.py
@@ -1949,11 +1949,11 @@ class MSVCCompiler(MSVC, Compiler):
]
defines = [
+ '${hide:CPP_FAKEID}',
# FIXME: This is quick fix to let catboost build from MSVS IDE
# This place is questionable overall, see YMAKE-437
'/DARCADIA_ROOT=' + ('${ARCADIA_ROOT}' if not self.tc.ide_msvs else '.'),
'/DARCADIA_BUILD_ROOT=' + ('${ARCADIA_BUILD_ROOT}' if not self.tc.ide_msvs else '.'),
- '/DFAKEID=$CPP_FAKEID',
'/DWIN32',
'/D_WIN32',
'/D_WINDOWS',
@@ -1972,7 +1972,6 @@ class MSVCCompiler(MSVC, Compiler):
'/D__STDC_CONSTANT_MACROS',
'/D__STDC_FORMAT_MACROS',
'/D_USING_V110_SDK71_',
- '/D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES',
# Below defines are covered at
# https://docs.microsoft.com/en-us/windows/win32/winprog/using-the-windows-headers#faster-builds-with-smaller-header-files
# Exclude APIs such as Cryptography, DDE, RPC, Shell, and Windows Sockets (while including <windows.h>)