Misc compliance fixes

This commit is contained in:
mintsuki 2022-03-02 18:18:08 +01:00
parent 63628075fa
commit 07a9145f39
7 changed files with 16 additions and 16 deletions

View File

@ -1,5 +1,5 @@
#ifndef __ISO646_H__ #ifndef _ISO646_H
#define __ISO646_H__ #define _ISO646_H 1
#define and && #define and &&
#define and_eq &= #define and_eq &=

View File

@ -1,8 +1,8 @@
#ifndef __STDALIGN_H__ #ifndef _STDALIGN_H
#define __STDALIGN_H__ #define _STDALIGN_H 1
#define alignas(a) _Alignas(a) #define alignas _Alignas
#define alignof(t) _Alignof(t) #define alignof _Alignof
#define __alignas_is_defined 1 #define __alignas_is_defined 1
#define __alignof_is_defined 1 #define __alignof_is_defined 1

View File

@ -1,5 +1,5 @@
#ifndef __STDARG_H__ #ifndef _STDARG_H
#define __STDARG_H__ #define _STDARG_H 1
typedef __builtin_va_list va_list; typedef __builtin_va_list va_list;

View File

@ -1,5 +1,5 @@
#ifndef __STDBOOL_H__ #ifndef _STDBOOL_H
#define __STDBOOL_H__ #define _STDBOOL_H 1
#define bool _Bool #define bool _Bool

View File

@ -1,5 +1,5 @@
#ifndef __STDDEF_H__ #ifndef _STDDEF_H
#define __STDDEF_H__ #define _STDDEF_H 1
typedef __SIZE_TYPE__ size_t; typedef __SIZE_TYPE__ size_t;
typedef __PTRDIFF_TYPE__ ptrdiff_t; typedef __PTRDIFF_TYPE__ ptrdiff_t;

View File

@ -1,5 +1,5 @@
#ifndef __STDINT_H__ #ifndef _STDINT_H
#define __STDINT_H__ #define _STDINT_H 1
typedef __UINT8_TYPE__ uint8_t; typedef __UINT8_TYPE__ uint8_t;
typedef __UINT16_TYPE__ uint16_t; typedef __UINT16_TYPE__ uint16_t;

View File

@ -1,5 +1,5 @@
#ifndef __STDNORETURN_H__ #ifndef _STDNORETURN_H
#define __STDNORETURN_H__ #define _STDNORETURN_H 1
#define noreturn _Noreturn #define noreturn _Noreturn