Skip to content

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

Open
@bigopensky

Description

@bigopensky

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions