Skip to content

Commit db64c09

Browse files
committed
FIX: macosx framework check
1 parent 059b9bb commit db64c09

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/_macosx.m

+2
Original file line numberDiff line numberDiff line change
@@ -2566,6 +2566,8 @@ static void context_cleanup(const void* info)
25662566
static bool verify_framework(void)
25672567
{
25682568
ProcessSerialNumber psn;
2569+
/* These methods are deprecated, but they don't require the app to
2570+
have started */
25692571
if (CGMainDisplayID()!=0
25702572
&& GetCurrentProcess(&psn)==noErr
25712573
&& SetFrontProcess(&psn)==noErr) return true;

0 commit comments

Comments
 (0)