summaryrefslogtreecommitdiff
path: root/src/vimio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vimio.h')
-rw-r--r--src/vimio.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/vimio.h b/src/vimio.h
new file mode 100644
index 000000000..71a52cd21
--- /dev/null
+++ b/src/vimio.h
@@ -0,0 +1,16 @@
+/* vi:set ts=8 sts=4 sw=4:
+ *
+ * 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
+
+#include <io.h>