#ifndef _SYS_CDEFS_H #define _SYS_CDEFS_H #define __dietlibc__ #ifndef __cplusplus #define throw () #define __THROW #define __BEGIN_DECLS #define __END_DECLS #else #define __THROW throw () #define __BEGIN_DECLS extern "C" { #define __END_DECLS } #endif #ifndef __GNUC__ #define __attribute__(xyz) #endif #define __pure__ #ifdef __GNUC__ #if (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 96)) #undef __pure__ #define __pure__ __attribute__ ((__pure__)) #endif #if (__GNUC__ == 2) && (__GNUC_MINOR__ < 95) #define __restrict__ #endif #endif #define __P(x) x #endif