Rev 359 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 359 | Rev 701 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | * DESCRIBE IT HERE! |
28 | * DESCRIBE IT HERE! |
29 | * |
29 | * |
30 | ****************************************************************************/ |
30 | ****************************************************************************/ |
Line -... | Line 31... | ||
- | 31 | ||
- | 32 | ||
- | 33 | #if defined(__OS2__) || defined(__NT__) |
|
- | 34 | #if defined(__SW_BM) |
|
- | 35 | ||
- | 36 | #include "thread.h" |
|
- | 37 | ||
- | 38 | #define _ERRNO (__THREADDATAPTR->__errnoP) |
|
- | 39 | #define _DOSERRNO (__THREADDATAPTR->__doserrnoP) |
|
- | 40 | ||
31 | 41 | #else |
|
- | 42 | ||
Line -... | Line 43... | ||
- | 43 | #define _ERRNO errno |
|
- | 44 | #define _DOSERRNO _doserrno |
|
- | 45 | ||
- | 46 | #endif |
|
- | 47 | #else |
|
- | 48 | // QNX errno is magically multithread aware |
|
- | 49 | // What does NETWARE do? |
|
- | 50 | #if !defined (_NETWARE_LIBC) |
|
- | 51 | #define _ERRNO errno |
|
- | 52 | #else |
|
Line -... | Line 53... | ||
- | 53 | extern int * ___errno(void); |
|
- | 54 | #define _ERRNO *___errno() /* get LibC errno */ |
|
- | 55 | #endif |
|
- | 56 |