no-OS
no_os_error.h
Go to the documentation of this file.
1 /***************************************************************************/
40 #ifndef _NO_OS_ERROR_H_
41 #define _NO_OS_ERROR_H_
42 
43 #include <errno.h>
44 
45 /******************************************************************************/
46 /********************** Macros and Constants Definitions **********************/
47 /******************************************************************************/
48 
49 #ifndef __NO_OS_ELASTERROR
50 #define __NO_OS_ELASTERROR 2000
51 #endif
52 
53 #define NO_OS_EOVERRUN (__NO_OS_ELASTERROR + 1) /* Circular buffer overrun */
54 
55 
56 #define NO_OS_IS_ERR_VALUE(x) ((x) < 0)
57 
58 #endif // _NO_OS_ERROR_H_
errno.h
Error macro definition for ARM Compiler.