mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 15:03:34 +00:00
17 lines
435 B
C
17 lines
435 B
C
#ifndef COSMOPOLITAN_LIBC_RUNTIME_SYMBOLIC_H_
|
|
#define COSMOPOLITAN_LIBC_RUNTIME_SYMBOLIC_H_
|
|
|
|
#ifdef __ASSEMBLER__
|
|
/* clang-format off */
|
|
#define SYMBOLIC(NAME) NAME(%rip)
|
|
#define LITERALLY(NAME) $NAME
|
|
/* clang-format on */
|
|
#elif defined(__VSCODE_INTELLISENSE__)
|
|
#define SYMBOLIC(NAME) 1
|
|
#define LITERALLY(NAME) 1
|
|
#else
|
|
#define SYMBOLIC(NAME) NAME
|
|
#define LITERALLY(NAME) NAME
|
|
#endif
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_RUNTIME_SYMBOLIC_H_ */
|