1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2013-09-22 23:58:52 +02:00
parent ad84bc75c8
commit 798554f21c

View file

@ -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