Index: config.auto.h.in =================================================================== --- config.auto.h.in (revision 367) +++ config.auto.h.in (revision 368) @@ -260,6 +260,11 @@ print {\n\n/* Define to 1 if you have the `gdImagePng' function. */\n} print_ternary libs/gui/gd/gdImagePng/presents {#define HAVE_GDIMAGEPNG 1} {/* #undef HAVE_GDIMAGEGIF */} +print {\n\n/* Wrapper for S_ISLNK(x); always return 0 if S_ISLNK doesn't exist */\n} +switch /target/libs/fs/stat/macros/S_ISLNK + case {} print {#define WRAP_S_ISLNK(x) 0}; end; + default print [@#define WRAP_S_ISLNK(x) @/target/libs/fs/stat/macros/S_ISLNK@(x)@]; end; +end; print [@