From 3ddaf3052e3293e2d7b9876c2eca875a5feec5f3 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 31 May 2019 00:24:12 -0400 Subject: [PATCH] Fixed build issues on other platforms. That dumb msvcrt macro is next. --- common/init.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/init.c b/common/init.c index cc868646..689ebca4 100644 --- a/common/init.c +++ b/common/init.c @@ -1,4 +1,8 @@ // 19 april 2019 +// TODO get rid of the need for this (it temporarily silences noise so I can find actual build issues) +#ifdef _MSC_VER +#define _CRT_SECURE_NO_WARNINGS +#endif #include #include #include