]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Updates for the MSVC port.
authorBruno Haible <bruno@clisp.org>
Fri, 28 Nov 2003 20:44:01 +0000 (20:44 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:22 +0000 (12:11 +0200)
gettext-runtime/ChangeLog
gettext-runtime/Makefile.am
gettext-runtime/libasprintf/ChangeLog
gettext-runtime/libasprintf/Makefile.am
gettext-runtime/libasprintf/configure.ac
gettext-tools/ChangeLog
gettext-tools/Makefile.am

index 0c411717442f9c4f303f8c32057a719abeab898f..81d422c8dd14472eeaf6455d1f31110d35580577 100644 (file)
@@ -1,3 +1,7 @@
+2003-11-28  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.am (config.h.msvc): Define SIZE_MAX and inline.
+
 2003-11-16  Bruno Haible  <bruno@clisp.org>
 
        * configure.ac (man/Makefile): Postprocess with FIX_MAKEFILE_DISTRIB.
index 5940899439e73a213f99cbd903e9d733d97d2bfd..174726cb6df566e7e10544a1c874f21a83b75a47 100644 (file)
@@ -160,9 +160,10 @@ config.h.msvc: config.h.in ../version.sh
            -e 's/#undef HAVE_WINT_T$$/#define HAVE_WINT_T 1/' \
            -e 's/#undef HAVE_WPRINTF$$/#define HAVE_WPRINTF 1/' \
            -e 's/#undef ICONV_CONST$$/#define ICONV_CONST const/' \
+           -e 's/#undef SIZE_MAX$$/#define SIZE_MAX 2147483647U/' \
            -e 's/#undef STACK_DIRECTION$$/#define STACK_DIRECTION -1/' \
            -e 's/#undef STDC_HEADERS$$/#define STDC_HEADERS 1/' \
-           -e 's/#undef inline$$/#define inline/' \
+           -e 's/#undef inline$$/#define inline __inline/' \
            -e 's/#undef ssize_t$$/#define ssize_t int/' \
            -e 's/#undef uintmax_t$$/#define uintmax_t unsigned long/' \
            -e 's/#undef PACKAGE$$/#define PACKAGE "gettext-runtime"/' \
index 30f576500ea5451c45b901b16b783ef1ecbf46fb..ec6c4e66e78c24c8996f6cf1c4e8f4c623c11fd0 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-28  Bruno Haible  <bruno@clisp.org>
+
+       * configure.ac: Invoke AC_C_INLINE.
+       * Makefile.am (config.h.msvc): Define SIZE_MAX and inline.
+
 2003-11-23  Paul Eggert  <eggert@twinsun.com>
             Bruno Haible  <bruno@clisp.org>
 
index 093f9e6b69f2e2a7040c1ba4dcbd99ec735cd5d3..cb2be82fc55e992b12992ce8fa64ae3cb764a7e7 100644 (file)
@@ -224,6 +224,8 @@ config.h.msvc: config.h.in
            -e 's/#undef HAVE_WCHAR_T$$/#define HAVE_WCHAR_T 1/' \
            -e 's/#undef HAVE_WCSLEN$$/#define HAVE_WCSLEN 1/' \
            -e 's/#undef HAVE_WINT_T$$/#define HAVE_WINT_T 1/' \
+           -e 's/#undef SIZE_MAX$$/#define SIZE_MAX 2147483647U/' \
+           -e 's/#undef inline$$/#define inline __inline/' \
          < $(srcdir)/config.h.in > $@
 
 autosprintf.h.msvc-shared: autosprintf.h.in windows/dllexport.h
index 00ec3945b38992e75eec22bf4f721384ef9d1289..6844cd80f93f1a914103c77d8bc561c56cfb575b 100644 (file)
@@ -46,6 +46,7 @@ dnl Checks for header files.
 
 dnl Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST
+AC_C_INLINE
 bh_C_SIGNED
 AC_TYPE_SIZE_T
 jm_AC_TYPE_LONG_LONG
index b2bf054b6eed65eef58a1250b20fd4c472d679eb..759ce070f13f2e2737e980d64024a5543c3efa9e 100644 (file)
@@ -1,3 +1,7 @@
+2003-11-28  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.am (config.h.msvc): Define SIZE_MAX and inline.
+
 2003-11-28  Bruno Haible  <bruno@clisp.org>
 
        * windows/gettextlib.def: Add at_fatal_signal, block_fatal_signals,
index eb504d1a6311d507a017876bbb691032c3637763..df2d0c8ac62b0bf8ef0c3009cc361ddd5a72c471 100644 (file)
@@ -204,11 +204,12 @@ config.h.msvc: config.h.in ../version.sh
            -e 's/#undef HAVE_WPRINTF$$/#define HAVE_WPRINTF 1/' \
            -e 's/#undef ICONV_CONST$$/#define ICONV_CONST const/' \
            -e 's/#undef SETLOCALE_CONST$$/#define SETLOCALE_CONST const/' \
+           -e 's/#undef SIZE_MAX$$/#define SIZE_MAX 2147483647U/' \
            -e 's/#undef STACK_DIRECTION$$/#define STACK_DIRECTION -1/' \
            -e 's/#undef STDC_HEADERS$$/#define STDC_HEADERS 1/' \
            -e 's/#undef fnmatch$$/#define fnmatch rpl_fnmatch/' \
            -e 's/#undef getline$$/#define getline rpl_getline/' \
-           -e 's/#undef inline$$/#define inline/' \
+           -e 's/#undef inline$$/#define inline __inline/' \
            -e 's/#undef mode_t$$/#define mode_t int/' \
            -e 's/#undef pid_t$$/#define pid_t int/' \
            -e 's/#undef ssize_t$$/#define ssize_t int/' \