summaryrefslogtreecommitdiffstats
path: root/src/vimio.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/vimio.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/vimio.h b/src/vimio.h
new file mode 100644
index 0000000..9b031ed
--- /dev/null
+++ b/src/vimio.h
@@ -0,0 +1,19 @@
+/* vi:set ts=8 sts=4 sw=4 noet:
+ *
+ * VIM - Vi IMproved by Bram Moolenaar
+ *
+ * Do ":help uganda" in Vim to read copying and usage conditions.
+ * Do ":help credits" in Vim to see a list of people who contributed.
+ * See README.txt for an overview of the Vim source code.
+ */
+
+/* Visual Studio 2005 has 'deprecated' many of the standard CRT functions */
+#if _MSC_VER >= 1400
+# define _CRT_SECURE_NO_DEPRECATE
+# define _CRT_NONSTDC_NO_DEPRECATE
+#endif
+
+/* cproto fails on missing include files */
+#ifndef PROTO
+# include <io.h>
+#endif