#ifndef _COMPILER_H_
#define _COMPILER_H_

#define NULL ((void*)0)

typedef unsigned char   u8_t ;
typedef unsigned int    u16_t ; // neu
typedef unsigned long   u32_t ;
typedef signed char		s8_t;
typedef signed int    	s16_t ; // neu
typedef signed long   s32_t ;

#define APIFUNCATTR
#define	EXPORTATTR
#define VERSION2BYTE(main,sub) ((unsigned char)(((main) & 7) << 5) | ((sub) & 0x1f))
// Anzahl der Receive-Messages
#define MAX_RCVMSG 16

/*** fehlende Standardmakros ***/
#ifndef min
  #define min(a,b)  ((a) < (b) ? (a) : (b))
  #define max(a,b)  ((a) > (b) ? (a) : (b))
#endif

#endif
