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

Lines changed: 2 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy