libtickit icon indicating copy to clipboard operation
libtickit copied to clipboard

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

Open bigopensky opened this issue 10 months ago • 0 comments

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

bigopensky avatar Apr 03 '24 00:04 bigopensky