mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:37:45 +00:00
LibC: The standard C library needs to be able to build as pure C.
Looks like we can't use those comfy C++ attributes in this code then.
This commit is contained in:
parent
3b42db0b4c
commit
cbfd416279
4 changed files with 14 additions and 12 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
#define _POSIX_VERSION 200809L
|
||||
|
||||
#define ALWAYS_INLINE inline __attribute__((always_inline))
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define __BEGIN_DECLS extern "C" {
|
||||
#define __END_DECLS }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue