summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJérôme Laheurte <jerome@jeromelaheurte.net>2017-10-01 19:04:15 +0200
committerTim-Philipp Müller <tim@centricular.com>2017-12-09 19:32:30 +0000
commit247e232ec41313d53a0590856886224c79af09cc (patch)
treea1b4169770316704f05a5f022e9a469a7ef20d29 /tests
parent2ed379c732cbd20f1ee93cd85c6b29fb0817e81a (diff)
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')
-rwxr-xr-xtests/examples/gl/cocoa/cocoa-videooverlay.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/examples/gl/cocoa/cocoa-videooverlay.m b/tests/examples/gl/cocoa/cocoa-videooverlay.m
index 75814a71f..3151726bc 100755
--- a/tests/examples/gl/cocoa/cocoa-videooverlay.m
+++ b/tests/examples/gl/cocoa/cocoa-videooverlay.m
@@ -22,7 +22,7 @@
#include <gst/gst.h>
#include <gst/video/videooverlay.h>
-#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_12
+#if MAC_OS_X_VERSION_MAX_ALLOWED < 101200
#define NSEventMaskAny NSAnyEventMask
#define NSWindowStyleMaskTitled NSTitledWindowMask
#define NSWindowStyleMaskClosable NSClosableWindowMask