summaryrefslogtreecommitdiff
path: root/Build/source/utils/t1utils/config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/t1utils/config.h.in')
-rw-r--r--Build/source/utils/t1utils/config.h.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/Build/source/utils/t1utils/config.h.in b/Build/source/utils/t1utils/config.h.in
index e4e905cd10c..3755607576b 100644
--- a/Build/source/utils/t1utils/config.h.in
+++ b/Build/source/utils/t1utils/config.h.in
@@ -9,6 +9,9 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
+/* Define to 1 if you have the `memmem' function. */
+#undef HAVE_MEMMEM
+
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
@@ -95,8 +98,16 @@ extern "C" {
char *strerror(int errno);
#endif
+/* Prototype memmem if we don't have it. */
+#if !HAVE_MEMMEM
+void *memmem(const void* haystack, size_t haystack_len,
+ const void* needle, size_t needle_len);
+#endif
+
#ifdef __cplusplus
}
+/* Get rid of a possible inline macro under C++. */
+# define inline inline
#endif
#endif /* T1UTILS_CONFIG_H */