aboutsummaryrefslogtreecommitdiff
path: root/graphics/scaler
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/scaler')
-rw-r--r--graphics/scaler/hq2x.cpp2
-rw-r--r--graphics/scaler/hq3x.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/graphics/scaler/hq2x.cpp b/graphics/scaler/hq2x.cpp
index ba89b4f9cf..f8863c0781 100644
--- a/graphics/scaler/hq2x.cpp
+++ b/graphics/scaler/hq2x.cpp
@@ -29,8 +29,10 @@
extern "C" {
#ifndef _WIN32
+#ifndef 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 0c33c23ab2..7960dd3b74 100644
--- a/graphics/scaler/hq3x.cpp
+++ b/graphics/scaler/hq3x.cpp
@@ -29,8 +29,10 @@
extern "C" {
#ifndef _WIN32
+#ifndef MACOSX
#define hq3x_16 _hq3x_16
#endif
+#endif
void hq3x_16(const byte *, byte *, uint32, uint32, uint32, uint32);