cosmopolitan/tool/build/lib/case.h
Justine Tunney fa20edc44d
Reduce header complexity
- Remove most __ASSEMBLER__ __LINKER__ ifdefs
- Rename libc/intrin/bits.h to libc/serialize.h
- Block pthread cancelation in fchmodat() polyfill
- Remove `clang-format off` statements in third_party
2023-11-28 14:39:42 -08:00

14 lines
311 B
C

#ifndef COSMOPOLITAN_TOOL_BUILD_LIB_CASE_H_
#define COSMOPOLITAN_TOOL_BUILD_LIB_CASE_H_
#define CASE(OP, CODE) \
case OP: \
CODE; \
break
#define CASR(OP, CODE) \
case OP: \
CODE; \
return
#endif /* COSMOPOLITAN_TOOL_BUILD_LIB_CASE_H_ */