summaryrefslogtreecommitdiffstats
path: root/src/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal.h')
-rw-r--r--src/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/internal.h b/src/internal.h
index c943384..24e9cc8 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -7,6 +7,8 @@
#include "engine.h"
#include "lngconfig.h"
+#define STRNLEN(str,n) (n?strnlen(str,n):strlen(str))
+
struct rcc_context_t {
char locale_variable[RCC_MAX_VARIABLE_CHARS+1];