]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Portability to Woe32.
authorBruno Haible <bruno@clisp.org>
Mon, 12 May 2003 18:27:24 +0000 (18:27 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:29 +0000 (12:10 +0200)
gettext-tools/src/ChangeLog
gettext-tools/src/msginit.c

index 38e7343dab4ac352e0e54ec8a2220248c3cee672..52e5bf1574f1039a0100d6e2436fee778b6dc645 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-12  Bruno Haible  <bruno@clisp.org>
+
+       * msginit.c (F_OK): Provide a fallback value.
+       Reported by Perry Rapp.
+
 2003-05-10  Bruno Haible  <bruno@clisp.org>
 
        * msgl-iconv.c (iconv_string): Don't return -1 just because the string
index 2205dddc6f7e95d74fdcc8f5d152ad66b9767ab3..c348eaf69bfabae4bdc124a72444151f9fe319fe 100644 (file)
 #define _(str) gettext (str)
 #define N_(str) (str)
 
+/* Get F_OK.  It is lacking from <fcntl.h> on Woe32.  */
+#ifndef F_OK
+# define F_OK 0
+#endif
+
 #define SIZEOF(a) (sizeof(a) / sizeof(a[0]))
 
 extern const char * _nl_locale_name (int category, const char *categoryname);