From: Bruno Haible Date: Mon, 14 May 2007 00:25:30 +0000 (+0000) Subject: Rely on gnulib module 'mkdir'. X-Git-Tag: v0.17~403 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa213b5817603516dc8e23a42842dc958c6ec6b3;p=thirdparty%2Fgettext.git Rely on gnulib module 'mkdir'. --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index 488981e8f..e0e289d43 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,8 @@ +2007-05-13 Bruno Haible + + * write-java.c (mkdir): Remove definition. Now done by gnulib. + * write-csharp.c (mkdir): Remove definition. Now done by gnulib. + 2007-05-13 Bruno Haible * msgl-check.c: Include stdio.h instead of vasprintf.h. diff --git a/gettext-tools/src/write-csharp.c b/gettext-tools/src/write-csharp.c index f2bfd415e..a45c52b47 100644 --- a/gettext-tools/src/write-csharp.c +++ b/gettext-tools/src/write-csharp.c @@ -71,13 +71,6 @@ # define S_IXOTH (S_IXUSR >> 6) #endif -#ifdef __MINGW32__ -# include -/* mingw's _mkdir() function has 1 argument, but we pass 2 arguments. - Therefore we have to disable the argument count checking. */ -# define mkdir ((int (*)()) _mkdir) -#endif - #include "c-ctype.h" #include "relocatable.h" #include "error.h" diff --git a/gettext-tools/src/write-java.c b/gettext-tools/src/write-java.c index 4733dbc0c..9b70a2f9d 100644 --- a/gettext-tools/src/write-java.c +++ b/gettext-tools/src/write-java.c @@ -54,13 +54,6 @@ # define S_IXUSR 00100 #endif -#ifdef __MINGW32__ -# include -/* mingw's _mkdir() function has 1 argument, but we pass 2 arguments. - Therefore we have to disable the argument count checking. */ -# define mkdir ((int (*)()) _mkdir) -#endif - #include "c-ctype.h" #include "error.h" #include "xerror.h"