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

@@ -35,7 +35,7 @@
#include "system/sysutils.h"
#ifdef __MSVC__
#ifdef _MSC_VER
#include "getopt/getopt.h"
#else
#include <getopt.h>
@@ -52,7 +52,7 @@ using namespace RubberBand;
using RubberBand::gettimeofday;
#endif
#ifdef __MSVC__
#ifdef _MSC_VER
using RubberBand::usleep;
#endif