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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user