diff options
Diffstat (limited to 'libc-compat.h')
-rw-r--r-- | libc-compat.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libc-compat.h b/libc-compat.h new file mode 100644 index 0000000..9435346 --- /dev/null +++ b/libc-compat.h @@ -0,0 +1,10 @@ +#ifndef __PROCD_LIBC_COMPAT_H +#define __PROCD_LIBC_COMPAT_H + +#if defined(__GLIBC__) && !defined(__UCLIBC__) +static inline int ignore(int x) {return x;} +#else +#define ignore(x) x +#endif + +#endif |