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
1 changed files with 5 additions and 5 deletions

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