From 558958ad23a305d43a52589ca651a18dcc09aa0b Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 10 Apr 2005 22:14:08 +0000 Subject: The FLTK string functions are now compiled in on all systems (STR #774) src/vsnprintf.c: - Replaced fl_vsnprintf() implementation with one that properly emulates the vsnprintf() function. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4262 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/flstring.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/flstring.c') diff --git a/src/flstring.c b/src/flstring.c index ce6967d18..269dbdad7 100644 --- a/src/flstring.c +++ b/src/flstring.c @@ -25,7 +25,7 @@ #include "flstring.h" -# if !HAVE_STRLCAT + /* * 'fl_strlcat()' - Safely concatenate two strings. */ @@ -64,9 +64,8 @@ fl_strlcat(char *dst, /* O - Destination string */ return (dstlen + srclen); } -# endif /* !HAVE_STRLCAT */ -# if !HAVE_STRLCPY + /* * 'fl_strlcpy()' - Safely copy two strings. */ @@ -97,7 +96,6 @@ fl_strlcpy(char *dst, /* O - Destination string */ return (srclen); } -# endif /* !HAVE_STRLCPY */ /* -- cgit v1.2.3