summaryrefslogtreecommitdiff
path: root/lib-src/emacsclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src/emacsclient.c')
-rw-r--r--lib-src/emacsclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index b74cc26d162..2e99e9d34ad 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -259,7 +259,7 @@ main (argc, argv)
exit (1);
}
-#ifdef BSD
+#ifdef BSD_SYSTEM
cwd = getwd (string);
#else
cwd = getcwd (string, sizeof string);
@@ -374,7 +374,7 @@ main (argc, argv)
}
/* Determine working dir, so we can prefix it to all the arguments. */
-#ifdef BSD
+#ifdef BSD_SYSTEM
temp = getwd (gwdirb);
#else
temp = getcwd (gwdirb, sizeof gwdirb);