summaryrefslogtreecommitdiffstats
path: root/src/if_perl_msvc
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-12-31 20:54:51 +0100
committerBram Moolenaar <Bram@vim.org>2015-12-31 20:54:51 +0100
commit2bf2417612879de627dcea1dbb22ee2199b16963 (patch)
treedbaace8d9816195b2e4417dcce10517adcde31df /src/if_perl_msvc
parent2d820808cda15b3ad9fe674393d1f1e997453d9e (diff)
patch 7.4.1011v7.4.1011
Problem: Can't build with Strawberry Perl. Solution: Include stdbool.h. (Ken Takata, closes #328)
Diffstat (limited to 'src/if_perl_msvc')
-rw-r--r--src/if_perl_msvc/stdbool.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/if_perl_msvc/stdbool.h b/src/if_perl_msvc/stdbool.h
new file mode 100644
index 0000000000..de89e3b05e
--- /dev/null
+++ b/src/if_perl_msvc/stdbool.h
@@ -0,0 +1,3 @@
+/* A stub stdbool.h for VC2012 or earlier.
+ * ActivePerl 5.20+ requires stdbool.h but VC2012 doesn't have it. */
+#define bool char