aboutsummaryrefslogtreecommitdiff
path: root/graphics/scaler
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/scaler')
-rw-r--r--graphics/scaler/hq2x.cpp4
-rw-r--r--graphics/scaler/hq3x.cpp5
2 files changed, 3 insertions, 6 deletions
diff --git a/graphics/scaler/hq2x.cpp b/graphics/scaler/hq2x.cpp
index f8863c0781..567a2fcf53 100644
--- a/graphics/scaler/hq2x.cpp
+++ b/graphics/scaler/hq2x.cpp
@@ -28,11 +28,9 @@
extern "C" {
-#ifndef _WIN32
-#ifndef MACOSX
+#if !defined(_WIN32) && !defined(MACOSX)
#define hq2x_16 _hq2x_16
#endif
-#endif
void hq2x_16(const byte *, byte *, uint32, uint32, uint32, uint32);
diff --git a/graphics/scaler/hq3x.cpp b/graphics/scaler/hq3x.cpp
index 7960dd3b74..64bd17834d 100644
--- a/graphics/scaler/hq3x.cpp
+++ b/graphics/scaler/hq3x.cpp
@@ -28,11 +28,10 @@
extern "C" {
-#ifndef _WIN32
-#ifndef MACOSX
+#if !defined(_WIN32) && !defined(MACOSX)
#define hq3x_16 _hq3x_16
#endif
-#endif
+
void hq3x_16(const byte *, byte *, uint32, uint32, uint32, uint32);