diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c index edbb9d8b07e..1617ad68c10 100644 --- a/TSRM/tsrm_virtual_cwd.c +++ b/TSRM/tsrm_virtual_cwd.c @@ -503,6 +503,7 @@ static inline realpath_cache_bucket* realpath_cache_find(const char *path, int p } /* }}} */ +#undef LINK_MAX #define LINK_MAX 32 static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, int use_realpath, int is_dir, int *link_is_dir TSRMLS_DC) /* {{{ */