diff options
-rw-r--r-- | Changes | 3 | ||||
-rw-r--r-- | lzfP.h | 6 |
2 files changed, 8 insertions, 1 deletions
@@ -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. @@ -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 |