summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/charset.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/charset.h b/source3/include/charset.h
index 1edf12309a..a4dfef3a50 100644
--- a/source3/include/charset.h
+++ b/source3/include/charset.h
@@ -26,6 +26,9 @@ typedef enum {CH_UCS2=0, CH_UTF16=0, CH_UNIX=1, CH_DISPLAY=2, CH_DOS=3, CH_UTF8=
#ifndef strlen_m
#define strlen_m strlen
#endif
+#ifndef strlen_m_term
+#define strlen_m_term strlen
+#endif
#define NUM_CHARSETS 5