Replace __MSVC__ define (which needs to be defined manually in the build) with _MSC_VER (which the compiler defines itself) throughout

This commit is contained in:
Chris Cannam
2020-12-10 09:25:28 +00:00
parent 3297cfab0c
commit 16487324fc
4 changed files with 10 additions and 10 deletions

View File

@@ -30,7 +30,7 @@
#include <stdio.h>
#ifdef __MSVC__
#ifdef _MSC_VER
// Ugh --cc
#define snprintf sprintf_s
#endif