mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
Add VSCode settings
This commit is contained in:
parent
bb06230f1e
commit
908b7a82ca
3 changed files with 37 additions and 4 deletions
36
.vscode/settings.json
vendored
Normal file
36
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
"C_Cpp.default.compilerPath": ".cosmocc/3.7.1/bin/aarch64-linux-cosmo-c++",
|
||||||
|
"C_Cpp.default.compilerArgs": [
|
||||||
|
"-nostdinc",
|
||||||
|
"-nostdlib",
|
||||||
|
"-iquote.",
|
||||||
|
"-isystemlibc/isystem",
|
||||||
|
"-isystemthird_party/libcxx",
|
||||||
|
"-includelibc/integral/normalize.inc",
|
||||||
|
"-D_COSMO_SOURCE",
|
||||||
|
"-D__aarch64__"
|
||||||
|
],
|
||||||
|
"[c]": {
|
||||||
|
"editor.tabSize": 2,
|
||||||
|
"editor.insertSpaces": true
|
||||||
|
},
|
||||||
|
"[cpp]": {
|
||||||
|
"editor.tabSize": 2,
|
||||||
|
"editor.insertSpaces": true
|
||||||
|
},
|
||||||
|
"[makefile]": {
|
||||||
|
"editor.tabSize": 8,
|
||||||
|
"editor.insertSpaces": false
|
||||||
|
},
|
||||||
|
"[make]": {
|
||||||
|
"editor.tabSize": 8,
|
||||||
|
"editor.insertSpaces": false
|
||||||
|
},
|
||||||
|
"[assembly]": {
|
||||||
|
"editor.tabSize": 8,
|
||||||
|
"editor.insertSpaces": true
|
||||||
|
},
|
||||||
|
"files.associations": {
|
||||||
|
"log.h": "c"
|
||||||
|
}
|
||||||
|
}
|
|
@ -48,8 +48,6 @@ void PrintGarbage(void);
|
||||||
void PrintGarbageNumeric(FILE *);
|
void PrintGarbageNumeric(FILE *);
|
||||||
void PrintWindowsMemory(const char *, size_t);
|
void PrintWindowsMemory(const char *, size_t);
|
||||||
|
|
||||||
#ifndef __STRICT_ANSI__
|
|
||||||
|
|
||||||
#define _LOG_UNLIKELY(x) __builtin_expect(!!(x), 0)
|
#define _LOG_UNLIKELY(x) __builtin_expect(!!(x), 0)
|
||||||
|
|
||||||
extern unsigned __log_level; /* log level for runtime check */
|
extern unsigned __log_level; /* log level for runtime check */
|
||||||
|
@ -245,7 +243,6 @@ void vffatalf(ARGS, va_list) asm("vflogf") ATTRV relegated wontreturn libcesque;
|
||||||
#undef ATTR
|
#undef ATTR
|
||||||
#undef ATTRV
|
#undef ATTRV
|
||||||
|
|
||||||
#endif /* __STRICT_ANSI__ */
|
|
||||||
COSMOPOLITAN_C_END_
|
COSMOPOLITAN_C_END_
|
||||||
#endif /* COSMOPOLITAN_LIBC_LOG_LOG_H_ */
|
#endif /* COSMOPOLITAN_LIBC_LOG_LOG_H_ */
|
||||||
#endif /* _COSMO_SOURCE */
|
#endif /* _COSMO_SOURCE */
|
||||||
|
|
Loading…
Reference in a new issue