summaryrefslogtreecommitdiff
path: root/src/flstring.c
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-04-10 22:14:08 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-04-10 22:14:08 +0000
commit558958ad23a305d43a52589ca651a18dcc09aa0b (patch)
treea8a15ce13e7913cdb46fe4e621e288486227d292 /src/flstring.c
parent5b20fbdce435bf8a367c06400d0119810ad71d20 (diff)
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
Diffstat (limited to 'src/flstring.c')
-rw-r--r--src/flstring.c6
1 files changed, 2 insertions, 4 deletions
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 */
/*