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

@@ -237,7 +237,7 @@ system_get_process_status(int pid)
#ifdef _WIN32
void system_memorybarrier()
{
#ifdef __MSVC__
#ifdef _MSC_VER
MemoryBarrier();
#else /* (mingw) */
LONG Barrier = 0;