| 1 | // cerrno standard header | |
| 2 | #pragma once | |
| 3 | #ifndef _CERRNO_ | |
| 4 | #define _CERRNO_ | |
| 5 | #include <yvals.h> | |
| 6 | ||
| 7 | #ifdef _STD_USING | |
| 8 | #undef _STD_USING | |
| 9 | #include <errno.h> | |
| 10 | #define _STD_USING | |
| 11 | ||
| 12 | #ifndef errno | |
| 13 | #define errno errno | |
| 14 | #endif /* errno */ | |
| 15 | ||
| 16 | #else /* _STD_USING */ | |
| 17 | #include <errno.h> | |
| 18 | #endif /* _STD_USING */ | |
| 19 | ||
| 20 | #ifndef RC_INVOKED | |
| 21 | #if _GLOBAL_USING | |
| 22 | _STD_BEGIN | |
| 23 | #ifndef errno | |
| 24 | #define errno errno | |
| 25 | using ::errno; | |
| 26 | #endif /* errno */ | |
| 27 |
| Lines 28 ... 34 are skipped. |
| 35 | * Consult your license regarding permissions and restrictions. | |
| 36 | V5.02:0009 */ | |
| 37 | ||