[gettext] fix build with mingw-w64 (#10077)

This commit is contained in:
Hleb Valoshka 2020-03-11 19:07:39 +03:00 committed by GitHub
parent 93045f2974
commit c84dfe7ddd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -16,7 +16,7 @@ index 63351523..c078de3f 100644
+# endif
+# undef NOMINMAX
+# define NOMINMAX
+# include <Windows.h> // For: MultiByteToWideChar
+# include <windows.h> // For: MultiByteToWideChar
+# include <io.h>
+# include <wchar.h>
+

View File

@ -1,5 +1,5 @@
Source: gettext
Version: 0.19-14
Version: 0.19-15
Homepage: https://www.gnu.org/software/gettext/
Description: The GNU gettext utilities are a set of tools that provides a framework to help other GNU packages produce multi-lingual messages. Provides libintl.
Build-Depends: libiconv

View File

@ -275,7 +275,9 @@
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the `mempcpy' function. */
/* #undef HAVE_MEMPCPY */
#ifdef __GNUC__
#define HAVE_MEMPCPY 1
#endif
/* Define to 1 if you have a working `mmap' system call. */
/* #undef HAVE_MMAP */