fix __set_errno
authorFelix Fietkau <nbd@openwrt.org>
Mon, 18 Apr 2011 09:40:36 +0000 (11:40 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 18 Apr 2011 09:40:36 +0000 (11:40 +0200)
compat.h

index 408a4173a19d6e3dcb01d89055896f212234f89f..6acf5ee33c3a223931092f872e7cbcbc25092698 100644 (file)
--- a/compat.h
+++ b/compat.h
@@ -27,4 +27,6 @@
 #define attribute_noreturn
 #define libc_hidden_def(...)
 
+#define __set_errno(_val) errno = _val
+
 #endif