mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Update <features.h> to current coding conventions.
This commit is contained in:
parent
ad84bc75c8
commit
798554f21c
1 changed files with 5 additions and 5 deletions
|
@ -22,8 +22,8 @@
|
|||
|
||||
*******************************************************************************/
|
||||
|
||||
#ifndef _FEATURES_H
|
||||
#define _FEATURES_H 1
|
||||
#ifndef INCLUDE_FEATURES_H
|
||||
#define INCLUDE_FEATURES_H 1
|
||||
|
||||
#define __sortix_libc__ 1
|
||||
|
||||
|
@ -43,9 +43,9 @@
|
|||
#define __PRAGMA_WARNING(msg) _Pragma(__STRINGIFY(GCC warning msg))
|
||||
|
||||
/* C++ needs to know that types and declarations are C, not C++. */
|
||||
#ifdef __cplusplus
|
||||
#define __BEGIN_DECLS extern "C" {
|
||||
#define __END_DECLS }
|
||||
#ifdef __cplusplus
|
||||
#define __BEGIN_DECLS extern "C" {
|
||||
#define __END_DECLS }
|
||||
#else
|
||||
#define __BEGIN_DECLS
|
||||
#define __END_DECLS
|
||||
|
|
Loading…
Reference in a new issue