summaryrefslogtreecommitdiff
path: root/tests/examples/avsamplesink
diff options
context:
space:
mode:
authorJérôme Laheurte <jerome@jeromelaheurte.net>2017-10-01 19:04:15 +0200
committerMatthew Waters <matthew@centricular.com>2017-10-20 01:49:22 +1100
commitb569ae4832a4572929cd298e95e6cca6837a735e (patch)
tree3a4fb714fea1577fd3ef0228ca148a205b690e42 /tests/examples/avsamplesink
parent07d6b7f56d68a6465f34fa85accc1db0238f4440 (diff)
downloadgstreamer-plugins-bad-b569ae4832a4572929cd298e95e6cca6837a735e.tar.gz
Use value instead of version macro when testing for mac OS version
https://bugzilla.gnome.org/show_bug.cgi?id=788404
Diffstat (limited to 'tests/examples/avsamplesink')
-rw-r--r--tests/examples/avsamplesink/main.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/examples/avsamplesink/main.m b/tests/examples/avsamplesink/main.m
index fbffc04b2..fbe852775 100644
--- a/tests/examples/avsamplesink/main.m
+++ b/tests/examples/avsamplesink/main.m
@@ -25,7 +25,7 @@
#include <CoreFoundation/CoreFoundation.h>
#include <CoreMedia/CoreMedia.h>
-#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_12
+#if MAC_OS_X_VERSION_MAX_ALLOWED < 101200
#define NSWindowStyleMaskBorderless NSBorderlessWindowMask
#endif