summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_string.h')
-rw-r--r--src/nxt_string.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nxt_string.h b/src/nxt_string.h
index 41f7c238..c27ff63d 100644
--- a/src/nxt_string.h
+++ b/src/nxt_string.h
@@ -8,6 +8,10 @@
#define _NXT_STRING_H_INCLUDED_
+/* Workaround for Ruby bug #18893 */
+#undef memcpy
+
+
#define nxt_lowcase(c) \
(u_char) ((c >= 'A' && c <= 'Z') ? c | 0x20 : c)