summaryrefslogtreecommitdiff
path: root/ace/OS_NS_stdlib.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-11-04 10:32:55 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-11-04 10:32:55 +0000
commite5c52c53981fe64dd38466277616ee30a135bfe8 (patch)
treea1610f1d4850bca49ca7cf4d92d1f8b8d9ffe151 /ace/OS_NS_stdlib.cpp
parentb76db9f452e7384180b84589016a088bf4cffa3b (diff)
downloadATCD-e5c52c53981fe64dd38466277616ee30a135bfe8.tar.gz
ChangeLogTag: Fri Nov 4 10:09:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/OS_NS_stdlib.cpp')
-rw-r--r--ace/OS_NS_stdlib.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ace/OS_NS_stdlib.cpp b/ace/OS_NS_stdlib.cpp
index 566de3bf950..fa21fed3106 100644
--- a/ace/OS_NS_stdlib.cpp
+++ b/ace/OS_NS_stdlib.cpp
@@ -337,8 +337,10 @@ ACE_OS::realpath (const char *file_name,
dest = rpath;
}
+#if !defined (ACE_LACKS_SYMLINKS)
char expand_buf[PATH_MAX]; // Extra buffer needed to expand symbolic links
int nlinks = 0;
+#endif
while (*file_name)
{