summaryrefslogtreecommitdiffstats
path: root/include/libc-internal.h
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-08-21 04:46:41 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-08-21 04:46:41 +0000
commit6ebb3d3f654b88641ceba4c1d4de8d6d211cb198 (patch)
treea86bc6be6f4ffdd01ab055ea7231a673718df6b2 /include/libc-internal.h
parent915d3c5ab2a1cfbad8c2d1fa733bf3653a23a1a0 (diff)
downloaduClibc-alpine-6ebb3d3f654b88641ceba4c1d4de8d6d211cb198.tar.bz2
uClibc-alpine-6ebb3d3f654b88641ceba4c1d4de8d6d211cb198.tar.xz
Merge from trunk.
Diffstat (limited to 'include/libc-internal.h')
-rw-r--r--include/libc-internal.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/libc-internal.h b/include/libc-internal.h
index c7838b51e..80bac2362 100644
--- a/include/libc-internal.h
+++ b/include/libc-internal.h
@@ -35,7 +35,7 @@
#include <sys/cdefs.h>
/* --- this is added to integrate linuxthreads */
-#define __USE_UNIX98 1
+/*#define __USE_UNIX98 1*/
#ifndef __ASSEMBLER__
# ifdef IS_IN_libc
@@ -44,7 +44,11 @@
# include <stddef.h>
/* sources are built w/ _GNU_SOURCE, this gets undefined */
+#ifdef __USE_GNU
extern int __xpg_strerror_r (int __errnum, char *__buf, size_t __buflen);
+#else
+extern char *__glibc_strerror_r (int __errnum, char *__buf, size_t __buflen);
+#endif
/* #include <pthread.h> */
# ifndef __UCLIBC_HAS_THREADS__