summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--caretx.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/caretx.c b/caretx.c
index 184c7d04fd..25ca1951f1 100644
--- a/caretx.c
+++ b/caretx.c
@@ -38,6 +38,12 @@
# include <mach-o/dyld.h>
#endif
+/* Note: Functions in this file must not have bool parameters. When
+ PERL_BOOL_AS_CHAR is #defined, mach-o/dyld.h overrides it in this file
+ by #including stdbool.h, so the function parameters here would conflict
+ with those in proto.h.
+*/
+
void
Perl_set_caret_X(pTHX) {
dVAR;