fix msvc warning

master
Daniel Kolesa 2021-04-13 02:53:18 +02:00
parent c42e58b868
commit c4e311d71a
1 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,10 @@
/* a rudimentary test runner for cubescript files */
#ifdef _MSC_VER
/* avoid silly complaints about fopen */
# define _CRT_SECURE_NO_WARNINGS 1
#endif
#include <cstdio>
#include <string>
#include <string_view>