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

Disable for loop when USE_RECVMSG is not defined #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

trampen
Copy link

@trampen trampen commented Feb 20, 2023

Following expresion should be run only when needed, when USE_RECVMSG or _WIN32 are defined

for (cmsghdr = CMSG_FIRSTHDR(&msghdr); cmsghdr != NULL ; cmsghdr = CMSG_NXTHDR(&msghdr, cmsghdr))

Runnig it for Android compilation where USE_RECVMSG is not defined cause infinite loop.

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.

2 participants