projects
/
chise
/
concord.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update.
[chise/concord.git]
/
sysdep.h
diff --git
a/sysdep.h
b/sysdep.h
index
b28010a
..
6ebff4d
100644
(file)
--- a/
sysdep.h
+++ b/
sysdep.h
@@
-2,6
+2,15
@@
#define _CHISE_SYSDEP_H
#include <string.h>
#define _CHISE_SYSDEP_H
#include <string.h>
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#ifndef HAVE_STRNLEN
+#if defined(__DARWIN_C_LEVEL) && __DARWIN_C_LEVEL >= 200809L
+#define HAVE_STRNLEN 1
+#endif
+#endif
#ifndef HAVE_STRNLEN
/* original in mysql, strings/strnlen.c.
#ifndef HAVE_STRNLEN
/* original in mysql, strings/strnlen.c.