aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/linux-headers/asm/unistd_x32.h
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2022-12-15 19:25:15 +0300
committerthegeorg <thegeorg@yandex-team.com>2022-12-15 19:25:15 +0300
commit0c31d97afd7858af5f8f858c8addf91655ca9ccc (patch)
tree4d8a246db168f7beaafcd06d486c034115c2123d /contrib/libs/linux-headers/asm/unistd_x32.h
parentd1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff)
downloadydb-0c31d97afd7858af5f8f858c8addf91655ca9ccc.tar.gz
Sync linux-headers instead of using system ones
Diffstat (limited to 'contrib/libs/linux-headers/asm/unistd_x32.h')
-rw-r--r--contrib/libs/linux-headers/asm/unistd_x32.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/libs/linux-headers/asm/unistd_x32.h b/contrib/libs/linux-headers/asm/unistd_x32.h
new file mode 100644
index 0000000000..104f5d5119
--- /dev/null
+++ b/contrib/libs/linux-headers/asm/unistd_x32.h
@@ -0,0 +1,11 @@
+#if defined(__arm__)
+#error unavailable for arm
+#elif defined(__aarch64__)
+#error unavailable for arm64
+#elif defined(__powerpc__)
+#error unavailable for powerpc
+#elif defined(__i386__) || defined(__x86_64__)
+#include "unistd_x32_x86.h"
+#else
+#error unexpected
+#endif