aboutsummaryrefslogtreecommitdiffstats
path: root/libc/kernel/common/linux/err.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/kernel/common/linux/err.h')
-rw-r--r--libc/kernel/common/linux/err.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/kernel/common/linux/err.h b/libc/kernel/common/linux/err.h
index 442a1d890..ae0cf3cdc 100644
--- a/libc/kernel/common/linux/err.h
+++ b/libc/kernel/common/linux/err.h
@@ -22,5 +22,8 @@
#include <asm/errno.h>
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#define MAX_ERRNO 4095
+#ifndef __ASSEMBLY__
#define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO)
#endif
+/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
+#endif