aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/scaler.cpp2
-rw-r--r--common/scaler/hq2x.cpp2
-rw-r--r--common/scaler/hq3x.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/common/scaler.cpp b/common/scaler.cpp
index 92d557fc7f..cbbba0ac01 100644
--- a/common/scaler.cpp
+++ b/common/scaler.cpp
@@ -33,7 +33,7 @@ extern "C" {
// NOTE: if your compiler uses different mangled names, add another
// condition here
-#ifndef _MSC_VER
+#ifndef _WIN32
#define RGBtoYUV _RGBtoYUV
#define LUT16to32 _LUT16to32
#endif
diff --git a/common/scaler/hq2x.cpp b/common/scaler/hq2x.cpp
index ab4d7b371f..45b6bf829d 100644
--- a/common/scaler/hq2x.cpp
+++ b/common/scaler/hq2x.cpp
@@ -27,7 +27,7 @@
extern "C" {
-#ifndef _MSC_VER
+#ifndef _WIN32
#define hq2x_16 _hq2x_16
#endif
diff --git a/common/scaler/hq3x.cpp b/common/scaler/hq3x.cpp
index 60f8b7b30a..87008ef8ff 100644
--- a/common/scaler/hq3x.cpp
+++ b/common/scaler/hq3x.cpp
@@ -27,7 +27,7 @@
extern "C" {
-#ifndef _MSC_VER
+#ifndef _WIN32
#define hq3x_16 _hq3x_16
#endif