mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 23:13:34 +00:00
Both packages had nearly identical dependency requirements, so merging them should help reduce the complexity of the build graph.
10 lines
283 B
C
10 lines
283 B
C
#ifndef COSMOPOLITAN_LIBC_FMT_ISSLASH_H_
|
|
#define COSMOPOLITAN_LIBC_FMT_ISSLASH_H_
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
|
|
forceinline bool isslash(int c) {
|
|
return c == '/' || c == '\\';
|
|
}
|
|
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_LIBC_FMT_ISSLASH_H_ */
|