summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2005-03-02 02:41:48 +0000
committerroot <root>2005-03-02 02:41:48 +0000
commit328707ad20d43aac1d7d9cde611d7581dc25d793 (patch)
treed3dfdbc5a3566b9dc7293cdaad1ae18d12b388b5
parent5d147bf0982dbbe9fed341b93394ff2afd97cdae (diff)
*** empty log message ***
-rw-r--r--Changes3
-rw-r--r--lzfP.h6
2 files changed, 8 insertions, 1 deletions
diff --git a/Changes b/Changes
index 9f905f7..76ee9bf 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,6 @@
+
+ - use cstring in c++, not string.h.
+
1.4 Wed Dec 15 08:08:49 CET 2004
- very very slight tuning of the hashing function.
diff --git a/lzfP.h b/lzfP.h
index eb7a742..014a152 100644
--- a/lzfP.h
+++ b/lzfP.h
@@ -129,7 +129,11 @@ typedef const u8 *LZF_STATE[1 << (HLOG)];
#endif
#if USE_MEMCPY || INIT_HTAB
-# include <string.h>
+# ifdef __cplusplus
+# include <cstring>
+# else
+# include <string.h>
+# endif
#endif
#endif