texlive[61352] Build/source/texk/web2c/cwebdir: [CWEB] Reshuffle
commits+ascherer at tug.org
commits+ascherer at tug.org
Mon Dec 20 20:04:09 CET 2021
Revision: 61352
http://tug.org/svn/texlive?view=revision&revision=61352
Author: ascherer
Date: 2021-12-20 20:04:09 +0100 (Mon, 20 Dec 2021)
Log Message:
-----------
[CWEB] Reshuffle 'gettext' header.
Modified Paths:
--------------
trunk/Build/source/texk/web2c/cwebdir/ChangeLog
trunk/Build/source/texk/web2c/cwebdir/comm-w2c.h
Modified: trunk/Build/source/texk/web2c/cwebdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/ChangeLog 2021-12-20 00:48:30 UTC (rev 61351)
+++ trunk/Build/source/texk/web2c/cwebdir/ChangeLog 2021-12-20 19:04:09 UTC (rev 61352)
@@ -1,3 +1,7 @@
+2021-12-20 Andreas Scherer <https://ascherer.github.io>
+
+ * comm-w2c.h: Reshuffle 'gettext' header.
+
2021-12-05 Andreas Scherer <https://ascherer.github.io>
* comm-w2c.ch,
Modified: trunk/Build/source/texk/web2c/cwebdir/comm-w2c.h
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/comm-w2c.h 2021-12-20 00:48:30 UTC (rev 61351)
+++ trunk/Build/source/texk/web2c/cwebdir/comm-w2c.h 2021-12-20 19:04:09 UTC (rev 61352)
@@ -45,10 +45,21 @@
`|@!gettext|' function from the ``GNU~gettext utilities.'' For systems that do
not have this library installed, we wrap things for neutral behavior without
internationalization.
+For backward compatibility with pre-{\mc ANSI} compilers, we replace the
+``standard'' header file `\.{stdbool.h}' with the
+{\mc KPATHSEA\spacefactor1000} interface `\.{simpletypes.h}'.
@d _(s) gettext(s)
@<Include files@>=
+#include <ctype.h> /* definition of |@!isalpha|, |@!isdigit| and so on */
+#include <kpathsea/simpletypes.h> /* |@!boolean|, |@!true| and |@!false| */
+#include <stddef.h> /* definition of |@!ptrdiff_t| */
+#include <stdint.h> /* definition of |@!uint8_t| and |@!uint16_t| */
+#include <stdio.h> /* definition of |@!printf| and friends */
+#include <stdlib.h> /* definition of |@!getenv| and |@!exit| */
+#include <string.h> /* definition of |@!strlen|, |@!strcmp| and so on */
+@#
#ifndef HAVE_GETTEXT
#define HAVE_GETTEXT 0
#endif
@@ -58,14 +69,6 @@
#else
#define gettext(a) a
#endif
-@#
-#include <ctype.h> /* definition of |@!isalpha|, |@!isdigit| and so on */
-#include <kpathsea/simpletypes.h> /* |@!boolean|, |@!true| and |@!false| */
-#include <stddef.h> /* definition of |@!ptrdiff_t| */
-#include <stdint.h> /* definition of |@!uint8_t| and |@!uint16_t| */
-#include <stdio.h> /* definition of |@!printf| and friends */
-#include <stdlib.h> /* definition of |@!getenv| and |@!exit| */
-#include <string.h> /* definition of |@!strlen|, |@!strcmp| and so on */
@ Code related to the character set:
@^ASCII code dependencies@>
More information about the tex-live-commits
mailing list.