summaryrefslogtreecommitdiff
path: root/lisp/helper.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-17 10:51:53 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-24 10:55:43 -0800
commit7a9fa61950200eb13600cdb57830e58a53bf78fa (patch)
tree2bba1bd11b0bb286dfd308775521d633058221d4 /lisp/helper.c
parent981dfdb23272bc02977c5bb9bc18d0d3fb618fa3 (diff)
unifdef __UNIXOS2__
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'lisp/helper.c')
-rw-r--r--lisp/helper.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lisp/helper.c b/lisp/helper.c
index be3ee7b..36c113f 100644
--- a/lisp/helper.c
+++ b/lisp/helper.c
@@ -1060,12 +1060,8 @@ LispProbeFile(LispBuiltin *builtin, int probe)
else if (STREAMP(pathname) && pathname->data.stream.type == LispStreamFile)
name = THESTR(CAR(pathname->data.stream.pathname->data.pathname));
-#ifndef __UNIXOS2__
if (realpath(name, &resolved[0]) == NULL ||
stat(resolved, &st)) {
-#else
- if ((name == NULL) || stat(resolved, &st)) {
-#endif
if (probe)
return (NIL);
LispDestroy("%s: realpath(\"%s\"): %s",