Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
errno.h
Go to the documentation of this file.
1
29#include <rw/_defs.h>
30
31#ifndef _RWSTD_NO_DEPRECATED_C_HEADERS
32
33# ifndef _RWSTD_ERRNO_H_INCLUDED
34# define _RWSTD_ERRNO_H_INCLUDED
35
36# include <cerrno>
37
38# ifndef _RWSTD_NO_NAMESPACE
39
40# ifndef errno
41
42// be prepared to handle 17.4.1.2, p5 and lwg issue 310
43// which say that errno may and must be a macro, respectively
44
45using std::errno;
46
47# endif // errno
48
49# endif // _RWSTD_NO_NAMESPACE
50
51# endif // _RWSTD_ERRNO_H_INCLUDED
52
53#else
54
55# if !defined (errno) \
56 || !defined (EDOM) || !defined (ERANGE) || !defined (EAGAIN)
57# include _RWSTD_ANSI_C_ERRNO_H
58# endif // errno ...
59
60#endif // _RWSTD_NO_DEPRECATED_C_HEADERS