More klibc fixes from Maximilian Attems, strlcpy() this time.
author |
Rob Landley <rob@landley.net> |
date |
Wed, 15 Aug 2007 12:50:44 -0500 |
parents |
c4a3781ecbab |
children |
668d5abde8b0 |
files |
lib/lib.c lib/lib.h |
diffstat |
2 files changed, 2 insertions(+), 2 deletions(-)
[+]
|
line diff
--- a/lib/lib.c Wed Aug 15 11:03:50 2007 -0500
+++ b/lib/lib.c Wed Aug 15 12:50:44 2007 -0500
@@ -11,7 +11,7 @@
#include "toys.h"
-#ifndef __UCLIBC__
+#if !defined(__UCLIBC__) && !defined(__KLIBC__)
// uClibc has this, and if we define our own it conflicts.
--- a/lib/lib.h Wed Aug 15 11:03:50 2007 -0500
+++ b/lib/lib.h Wed Aug 15 12:50:44 2007 -0500
@@ -31,7 +31,7 @@
void get_optflags(void);
// functions.c
-#ifndef __UCLIBC__
+#if !defined(__UCLIBC__) && !defined(__KLIBC__)
void strlcpy(char *dest, char *src, size_t size);
#endif