mirror of
https://github.com/justinian/jsix.git
synced 2025-12-11 00:44:31 -08:00
[libc] Bring libc in-tree
Moving libc from its separate repo into this one, minor resulting build fixes, and a hacky way to add -I for libc headers in builds.
This commit is contained in:
9
src/libraries/libc/include/j6libc/cpp.h
Normal file
9
src/libraries/libc/include/j6libc/cpp.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define CPP_CHECK_BEGIN extern "C" {
|
||||
#define CPP_CHECK_END }
|
||||
#else
|
||||
#define CPP_CHECK_BEGIN
|
||||
#define CPP_CHECK_END
|
||||
#endif
|
||||
Reference in New Issue
Block a user