texlive[48611] Build/source/texk/web2c/mplibdir/mpmathbinary.w: fixed
commits+lscarso at tug.org
commits+lscarso at tug.org
Fri Sep 7 01:40:06 CEST 2018
Revision: 48611
http://tug.org/svn/texlive?view=revision&revision=48611
Author: lscarso
Date: 2018-09-07 01:40:05 +0200 (Fri, 07 Sep 2018)
Log Message:
-----------
fixed gmp version in mpmathbinary.w
Modified Paths:
--------------
trunk/Build/source/texk/web2c/mplibdir/mpmathbinary.w
Modified: trunk/Build/source/texk/web2c/mplibdir/mpmathbinary.w
===================================================================
--- trunk/Build/source/texk/web2c/mplibdir/mpmathbinary.w 2018-09-06 21:19:06 UTC (rev 48610)
+++ trunk/Build/source/texk/web2c/mplibdir/mpmathbinary.w 2018-09-06 23:40:05 UTC (rev 48611)
@@ -41,8 +41,9 @@
#include <mpfr.h>
#ifdef HAVE_CONFIG_H
-#include <gmp/config.h>
-const char * const COMPILED_gmp_version = VERSION;
+#define MP_STR_HELPER(x) #x
+#define MP_STR(x) MP_STR_HELPER(x)
+const char * const COMPILED_gmp_version = MP_STR(__GNU_MP_VERSION) "." MP_STR( __GNU_MP_VERSION_MINOR) "." MP_STR(__GNU_MP_VERSION_PATCHLEVEL);
#else
const char * const COMPILED_gmp_version = "unknown";
#endif
More information about the tex-live-commits
mailing list