sxt: SXTerr macro;

master
Alexander Vdolainen 9 years ago
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…
Cancel
Save