summaryrefslogtreecommitdiff
path: root/src/flstring.h
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-04-29 20:56:19 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-04-29 20:56:19 +0000
commit13587f41c296dc954e0253603418d20be26d5b26 (patch)
treeb269af911f8a976793f36ccb7c5b193ebaaaec6f /src/flstring.h
parentc8aebffa8894a0b7a39e19e5341c6c0f4dc552af (diff)
Re-import the *current* version of Matthias's code, with appropriate
buffer limiting fixes, include "flstring.h" instead of <string.h>, and replace all use of bool, true, and false, with char, 1, and 0. (bool is not universally supported by the C++ compilers we currently use with FLTK 1.x, so 1.x cannot use bool, true, or false without a lot of configure crap that will make use/distribution a lot more difficult...) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2132 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/flstring.h')
-rw-r--r--src/flstring.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/flstring.h b/src/flstring.h
index 042c60464..f92404a5a 100644
--- a/src/flstring.h
+++ b/src/flstring.h
@@ -1,5 +1,5 @@
/*
- * "$Id: flstring.h,v 1.1.2.4 2002/03/28 16:57:41 easysw Exp $"
+ * "$Id: flstring.h,v 1.1.2.5 2002/04/29 20:56:19 easysw Exp $"
*
* Common string header file for the Fast Light Tool Kit (FLTK).
*
@@ -32,6 +32,7 @@
# ifdef HAVE_STRINGS_H
# include <strings.h>
# endif /* HAVE_STRINGS_H */
+# include <ctype.h>
/*
* Apparently Unixware defines "index" to strchr (!) rather than
@@ -71,5 +72,5 @@ extern int fl_vsnprintf(char *, size_t, const char *, va_list ap);
#endif /* !flstring_h */
/*
- * End of "$Id: flstring.h,v 1.1.2.4 2002/03/28 16:57:41 easysw Exp $".
+ * End of "$Id: flstring.h,v 1.1.2.5 2002/04/29 20:56:19 easysw Exp $".
*/