From 7c4c456896f8d24e93981af8d232939e2d8fb5b8 Mon Sep 17 00:00:00 2001 From: michaelangel007 Date: Thu, 6 Apr 2023 13:44:16 -0700 Subject: [PATCH] Fix Win32 build --- prodos.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/prodos.cpp b/prodos.cpp index b516614..f572505 100644 --- a/prodos.cpp +++ b/prodos.cpp @@ -1,3 +1,11 @@ +#ifdef _WIN32 + #define _CRT_SECURE_NO_WARNINGS 1 + #define _CRT_NONSTDC_NO_DEPRECATE 1 // error C4996: '_stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _stricmp. + + //#define stricmp _stricmp + //#pragma warning(suppress : 4996) +#endif + #define DEBUG_MAIN 0 #include // printf()