aboutsummaryrefslogtreecommitdiffstats
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
parent7b54ff800a86d9aa605ba6a42b211ac380beee68 (diff)
downloadydb-39819d97313d7d00c8a5b22fca17b3568c522af8.tar.gz
Remove unused sysincl for crtassem.h
commit_hash:7c16f722239365919c2cf805bd2134a9a523d4ef
-rw-r--r--build/sysincl/unsorted.yml3
-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
4 files changed, 3 insertions, 5 deletions
diff --git a/build/sysincl/unsorted.yml b/build/sysincl/unsorted.yml
index e58cb0576d..9d6fa0bae1 100644
--- a/build/sysincl/unsorted.yml
+++ b/build/sysincl/unsorted.yml
@@ -225,9 +225,6 @@
- varargs.h
- vm/vm_param.h
#endif
- #if defined(_MSC_VER)
- - crtassem.h
- #endif
#if defined(_unix_) && TODO
- bits/types/mbstate_t.h
- sys/atomic.h
diff --git a/contrib/tools/python/src/PC/msvcrtmodule.c b/contrib/tools/python/src/PC/msvcrtmodule.c
index 44c82e4594..a83a0319a7 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 f3819004df..fb47a895f5 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 53ef26b732..8867643a3c 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