]> granicus.if.org Git - php/commitdiff
- Fixed macro redefinition warning
authorFelipe Pena <felipe@php.net>
Thu, 13 Nov 2008 01:34:57 +0000 (01:34 +0000)
committerFelipe Pena <felipe@php.net>
Thu, 13 Nov 2008 01:34:57 +0000 (01:34 +0000)
TSRM/tsrm_virtual_cwd.c

index 516ecbdf6a073257d1f508f2bf66b5f128690200..faf5999463f8a6beb6393cd097a8f94104c3a8ad 100644 (file)
@@ -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) /* {{{ */