Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix preprocessor directives checking TARGET_OS_TV #160

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

bazuchan
Copy link
Contributor

My xcode has /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/TargetConditionals.h containing

// Make sure all TARGET_OS_* and TARGET_CPU_* values are defined
#ifndef TARGET_OS_TV
    #define TARGET_OS_TV         0
#endif

@heiher
Copy link
Owner

heiher commented Sep 10, 2024

cc @yiguous

@yiguous
Copy link
Contributor

yiguous commented Sep 11, 2024

I think this PR is better for compiling HevSocks5Tunnel on Apple platform.
Actually, hev_exec_run and daemon will not be used when developing app for Apple's OS, including AppleTVOS.
So just making compiling finished on Apple platform is totally OK.

@heiher
Copy link
Owner

heiher commented Sep 11, 2024

Thanks.

@heiher heiher merged commit ee4c850 into heiher:master Sep 11, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants