no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
no_os_error.h
Go to the documentation of this file.
1/***************************************************************************/
33
34#ifndef _NO_OS_ERROR_H_
35#define _NO_OS_ERROR_H_
36
37#include <errno.h>
38
39#ifndef __NO_OS_ELASTERROR
40#define __NO_OS_ELASTERROR 2000
41#endif
42
43#define NO_OS_EOVERRUN (__NO_OS_ELASTERROR + 1) /* Circular buffer overrun */
44
45
46#define NO_OS_IS_ERR_VALUE(x) ((x) < 0)
47
48#endif // _NO_OS_ERROR_H_
Error macro definition for ARM Compiler.