summaryrefslogtreecommitdiff
path: root/remote-cstms.c
diff options
context:
space:
mode:
Diffstat (limited to 'remote-cstms.c')
-rw-r--r--remote-cstms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote-cstms.c b/remote-cstms.c
index 317b4e0..c933af5 100644
--- a/remote-cstms.c
+++ b/remote-cstms.c
@@ -72,7 +72,7 @@ start_remote_job (argv, envp, stdin_fd, is_remote, id_ptr, used_stdin)
/* Find the current directory. */
if (getcwd (cwd, GET_PATH_MAX) == 0)
{
-#ifndef GETCWD_MISSING
+#ifdef HAVE_GETCWD
perror_with_name ("exporting: getcwd: ", "");
#else
error ("exporting: getwd: %s", cwd);