AFAIR such #ifdef guards are unnecessary. If `symlink_ex` is not defined, `#undef symlink_ex` will not trigger an error nor warning.