diff options
Diffstat (limited to 'intl')
-rw-r--r-- | intl/Makefile | 4 | ||||
-rw-r--r-- | intl/dcgettext.c | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/intl/Makefile b/intl/Makefile index 9d97088d4a..01e1383cb8 100644 --- a/intl/Makefile +++ b/intl/Makefile @@ -50,3 +50,7 @@ test ! -d CVS || cvs commit -m'Updated from $<' $@ endef endif + +CFLAGS-bindtextdom.c = -Wno-unused +CFLAGS-finddomain.c = -Wno-unused +CFLAGS-localealias.c = -Wno-unused diff --git a/intl/dcgettext.c b/intl/dcgettext.c index 6c8963f720..a18be16631 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. */ |