Update <features.h> to current coding conventions.
This commit is contained in:
parent
ad84bc75c8
commit
798554f21c
|
@ -22,8 +22,8 @@
|
||||||
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
#ifndef _FEATURES_H
|
#ifndef INCLUDE_FEATURES_H
|
||||||
#define _FEATURES_H 1
|
#define INCLUDE_FEATURES_H 1
|
||||||
|
|
||||||
#define __sortix_libc__ 1
|
#define __sortix_libc__ 1
|
||||||
|
|
||||||
|
@ -43,9 +43,9 @@
|
||||||
#define __PRAGMA_WARNING(msg) _Pragma(__STRINGIFY(GCC warning msg))
|
#define __PRAGMA_WARNING(msg) _Pragma(__STRINGIFY(GCC warning msg))
|
||||||
|
|
||||||
/* C++ needs to know that types and declarations are C, not C++. */
|
/* C++ needs to know that types and declarations are C, not C++. */
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#define __BEGIN_DECLS extern "C" {
|
#define __BEGIN_DECLS extern "C" {
|
||||||
#define __END_DECLS }
|
#define __END_DECLS }
|
||||||
#else
|
#else
|
||||||
#define __BEGIN_DECLS
|
#define __BEGIN_DECLS
|
||||||
#define __END_DECLS
|
#define __END_DECLS
|
||||||
|
|
Loading…
Reference in New Issue