svn commit: trunk/uClibc/libc/misc/internals

vapier at uclibc.org vapier at uclibc.org
Wed Feb 21 16:14:13 UTC 2007


Author: vapier
Date: 2007-02-21 08:14:11 -0800 (Wed, 21 Feb 2007)
New Revision: 17943

Log:
add missing file for previous commit as pointed out by Peter Kjellerstedt

Added:
   trunk/uClibc/libc/misc/internals/internal_errno.h


Changeset:
Added: trunk/uClibc/libc/misc/internals/internal_errno.h
===================================================================
--- trunk/uClibc/libc/misc/internals/internal_errno.h	                        (rev 0)
+++ trunk/uClibc/libc/misc/internals/internal_errno.h	2007-02-21 16:14:11 UTC (rev 17943)
@@ -0,0 +1,21 @@
+/*
+ *
+ */
+
+#include <features.h>
+#include <errno.h>
+#include <netdb.h>
+
+#undef errno
+#undef h_errno
+
+#ifdef __UCLIBC_HAS_THREADS__
+# define errno __uclibc_errno
+# define h_errno __uclibc_h_errno
+#endif
+
+extern int h_errno;
+libc_hidden_proto(h_errno)
+
+extern int errno;
+libc_hidden_proto(errno)




More information about the uClibc-cvs mailing list