aboutsummaryrefslogtreecommitdiff
path: root/intl/dcgettext.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/dcgettext.c')
-rw-r--r--intl/dcgettext.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/intl/dcgettext.c b/intl/dcgettext.c
index 6c8963f..a18be16 100644
--- a/intl/dcgettext.c
+++ b/intl/dcgettext.c
@@ -87,13 +87,13 @@ void free ();
file and the name space must not be polluted. */
# define getcwd __getcwd
# define stpcpy __stpcpy
-#endif
-
-#if !defined HAVE_GETCWD && !defined _LIBC
-char *getwd ();
-# define getcwd(buf, max) getwd (buf)
#else
+# if !defined HAVE_GETCWD
+char *getwd ();
+# define getcwd(buf, max) getwd (buf)
+# else
char *getcwd ();
+# endif
#endif
/* Amount to increase buffer size by in each try. */