I missed that.
The defines are correct — a dirent.h is present or we'd get an include error — but they're misused. Testing for dirent.h is not what they want to do.
The OP could change
#ifdef CHY_HAS_DIRENT_H ...aaa... #elif defined(CHY_HAS_WINDOWS_H) ...bbb... #endif
to
#ifdef defined(CHY_HAS_WINDOWS_H) ...bbb... #elif CHY_HAS_DIRENT_H ...aaa... #endif
(This is a fix for the OP. It's not suitable for incorporation into KinoSearch as is.)
In reply to Re^3: KinoSearch Installation errors
by ikegami
in thread KinoSearch Installation errors
by archimca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |