2018-10-31 02:09:11 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
2018-11-05 16:40:48 +01:00
|
|
|
#define _POSIX_VERSION 200809L
|
|
|
|
|
|
2018-10-31 15:53:11 +01:00
|
|
|
#define ALWAYS_INLINE inline __attribute__ ((always_inline))
|
2018-11-04 13:13:57 +01:00
|
|
|
#define __NORETURN __attribute__ ((noreturn))
|
2018-11-06 10:46:40 +01:00
|
|
|
#define __MALLOC __attribute__ ((malloc))
|
2018-10-31 15:53:11 +01:00
|
|
|
|
2018-10-31 02:09:11 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
#define __BEGIN_DECLS extern "C" {
|
|
|
|
|
#define __END_DECLS }
|
|
|
|
|
#else
|
|
|
|
|
#define __BEGIN_DECLS
|
|
|
|
|
#define __END_DECLS
|
|
|
|
|
#endif
|
2018-11-05 14:50:41 +01:00
|
|
|
|
|
|
|
|
#undef __P
|
|
|
|
|
#define __P(a) a
|
2018-11-09 14:29:00 +01:00
|
|
|
|
2018-11-10 23:29:07 +01:00
|
|
|
#ifdef __cplusplus
|
2018-11-09 14:29:00 +01:00
|
|
|
extern "C" int main(int, char**);
|
2018-11-10 23:29:07 +01:00
|
|
|
#endif
|
2018-11-09 14:29:00 +01:00
|
|
|
|