Make clangd work with toolchain's headers

This commit is contained in:
2026-08-25 18:26:42 +03:00
parent bdb7ada1ed
commit 1893b8f054
5 changed files with 89 additions and 9 deletions
+13 -3
View File
@@ -1,6 +1,16 @@
#include "stdio.h"
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#if defined(__linux__)
#error "Not using a cross compiler"
#endif
#if !defined(__i386__)
#error "Not using the right compiler"
#endif
int main() {
printf("Hello, world!\n");
return 0;
return 1;
return false;
}