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

Missing #if HAVE_PPOLL ... #endif in src/evloop-default.c near line 126 #5

Open
bigopensky opened this issue Apr 3, 2024 · 0 comments

Comments

@bigopensky
Copy link

Compilation under MacOS fails due to a missing condition:

$ make 
glibtool --quiet --mode=compile --tag=CC cc -Wall -Iinclude -Isrc -std=c99 -I/opt/local/include -DHAVE_UNIBILIUM -I/opt/local/include -o src/evloop-default.lo -c src/evloop-default.c
src/evloop-default.c:126:14: error: no member named 'signums' in 'EventLoopData'
  if(evdata->signums)
     ~~~~~~  ^
src/evloop-default.c:127:18: error: no member named 'signums' in 'EventLoopData'
    free(evdata->signums);
         ~~~~~~  ^
2 errors generated.

Can you please patch to HAVE_PPOLL condition into the code?

#if HAVE_PPOLL  
  if(evdata->signums)
    free(evdata->signums);
#endif
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

No branches or pull requests

1 participant