Make GLOB_ONLYDIR optional

Issue #285 resolved
Former user created an issue

Compilation currently fails on linux system using the musl libc library.(See because the GNU extension GLOB_ONLYDIR is used.

The man page says that GLOB_ONLYDIR is only an optimization, so it seems sensible to use 0 when it is not defined.

Comments (1)

  1. Log in to comment