sxt: SXTerr macro;
This commit is contained in:
parent
2699936d21
commit
61766213bb
@ -47,4 +47,6 @@
|
|||||||
#define SXT_EINVAL (SXT_EBASESHIFT + 22)
|
#define SXT_EINVAL (SXT_EBASESHIFT + 22)
|
||||||
#define SXT_ENOMEM (SXT_EBASESHIFT + 42)
|
#define SXT_ENOMEM (SXT_EBASESHIFT + 42)
|
||||||
|
|
||||||
|
#define SXTerr(n) (n) < 0 : -(n) ? (n)
|
||||||
|
|
||||||
#endif /* __SXT_ERRNO_H__ */
|
#endif /* __SXT_ERRNO_H__ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user