support for some old compilers
This commit is contained in:
parent
cb3bad5d70
commit
3b22cf6078
14
native/standalone/stdbool.h
Normal file
14
native/standalone/stdbool.h
Normal file
@ -0,0 +1,14 @@
|
||||
#ifndef _ACC_STDBOOL_H
|
||||
#define _ACC_STDBOOL_H
|
||||
|
||||
#ifndef __cplusplus
|
||||
|
||||
#define bool _Bool
|
||||
#define true 1
|
||||
#define false 0
|
||||
|
||||
#endif
|
||||
|
||||
#define __bool_true_false_are_defined 1
|
||||
|
||||
#endif
|
10
native/standalone/stdnoreturn.h
Normal file
10
native/standalone/stdnoreturn.h
Normal file
@ -0,0 +1,10 @@
|
||||
#ifndef _ACC_STD_NORETURN_H
|
||||
#define _ACC_STD_NORETURN_H
|
||||
|
||||
#ifndef __cplusplus
|
||||
|
||||
#define noreturn _Noreturn
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user