aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-12-06 18:23:13 +0300
committerthegeorg <thegeorg@yandex-team.com>2024-12-06 19:09:29 +0300
commit39819d97313d7d00c8a5b22fca17b3568c522af8 (patch)
tree10ce556a489f4ac2a6b36d70dfb8197649d645cd /contrib/tools
parent7b54ff800a86d9aa605ba6a42b211ac380beee68 (diff)
downloadydb-39819d97313d7d00c8a5b22fca17b3568c522af8.tar.gz
Remove unused sysincl for crtassem.h
commit_hash:7c16f722239365919c2cf805bd2134a9a523d4ef
Diffstat (limited to 'contrib/tools')
-rw-r--r--contrib/tools/python/src/PC/msvcrtmodule.c2
-rw-r--r--contrib/tools/python3/.yandex_meta/__init__.py1
-rw-r--r--contrib/tools/python3/PC/msvcrtmodule.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/contrib/tools/python/src/PC/msvcrtmodule.c b/contrib/tools/python/src/PC/msvcrtmodule.c
index 44c82e4594f..a83a0319a71 100644
--- a/contrib/tools/python/src/PC/msvcrtmodule.c
+++ b/contrib/tools/python/src/PC/msvcrtmodule.c
@@ -24,7 +24,7 @@
#ifdef _MSC_VER
#if _MSC_VER >= 1500 && _MSC_VER < 1600
-#include <crtassem.h>
+#error #include <crtassem.h>
#endif
#endif
diff --git a/contrib/tools/python3/.yandex_meta/__init__.py b/contrib/tools/python3/.yandex_meta/__init__.py
index f3819004df2..fb47a895f56 100644
--- a/contrib/tools/python3/.yandex_meta/__init__.py
+++ b/contrib/tools/python3/.yandex_meta/__init__.py
@@ -241,6 +241,7 @@ python3 = NixSourceProject(
],
disable_includes=[
"pydtrace_probes.h",
+ "crtassem.h",
"blake2-kat.h",
"bluetooth/",
"bluetooth.h",
diff --git a/contrib/tools/python3/PC/msvcrtmodule.c b/contrib/tools/python3/PC/msvcrtmodule.c
index 53ef26b732f..8867643a3cb 100644
--- a/contrib/tools/python3/PC/msvcrtmodule.c
+++ b/contrib/tools/python3/PC/msvcrtmodule.c
@@ -27,7 +27,7 @@
#ifdef _MSC_VER
#if _MSC_VER >= 1500 && _MSC_VER < 1600
-#include <crtassem.h>
+#error #include <crtassem.h>
#elif _MSC_VER >= 1600
#include <crtversion.h>
#endif