diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/lib/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/lib/texmfmp.c | 9 | ||||
-rw-r--r-- | Build/source/texk/web2c/web2c/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/web2c/coerce.h | 5 |
4 files changed, 21 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/lib/ChangeLog b/Build/source/texk/web2c/lib/ChangeLog index a77d38afb01..bb0e3b96a6d 100644 --- a/Build/source/texk/web2c/lib/ChangeLog +++ b/Build/source/texk/web2c/lib/ChangeLog @@ -1,3 +1,8 @@ +2008-03-09 Karl Berry <karl@tug.org> + + * texmfmp.c (maketexstring) [!MP]: only define this fn if !MP, + since MetaPost has its own in mpdir/utils.c. + 2008-01-29 Peter Breitenlohner <peb@mppmu.mpg.de> * Makefile.in: Add @configure_input@ line. diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c index c9b256d1910..cefab57cbd3 100644 --- a/Build/source/texk/web2c/lib/texmfmp.c +++ b/Build/source/texk/web2c/lib/texmfmp.c @@ -1908,6 +1908,8 @@ checkpoolpointer (poolpointer poolptr, size_t len) } } +#ifndef MP /* MP has its own in mpdir/utils.c */ + #ifndef XeTeX /* XeTeX uses this from XeTeX_mac.c */ static #endif @@ -1942,14 +1944,15 @@ maketexstring(const_string s) else strpool[poolptr++] = rval; } -#else +#else /* ! XeTeX */ while (len-- > 0) strpool[poolptr++] = *s++; -#endif +#endif /* ! XeTeX */ return (makestring()); } -#endif +#endif /* !MP */ +#endif /* !pdfTeX */ strnumber makefullnamestring() diff --git a/Build/source/texk/web2c/web2c/ChangeLog b/Build/source/texk/web2c/web2c/ChangeLog index 53e4a3f6889..3a80eafcf71 100644 --- a/Build/source/texk/web2c/web2c/ChangeLog +++ b/Build/source/texk/web2c/web2c/ChangeLog @@ -1,3 +1,8 @@ +2008-03-09 Karl Berry <karl@tug.org> + + * coerce.h [MP]: #include <mpdir/mplib.h> to get declarations, + with MPOSTCOERCE defined to avoid re-including mpd.h. + 2008-01-29 Peter Breitenlohner <peb@mppmu.mpg.de> * Makefile.in: Add @configure_input@ line. diff --git a/Build/source/texk/web2c/web2c/coerce.h b/Build/source/texk/web2c/web2c/coerce.h index ec937881173..204fce17767 100644 --- a/Build/source/texk/web2c/web2c/coerce.h +++ b/Build/source/texk/web2c/web2c/coerce.h @@ -56,3 +56,8 @@ extern void remembersourceinfo P2H(strnumber, int); #ifdef XeTeX #include <xetexdir/xetex.h> #endif /* XeTeX */ + +#ifdef MP +#define MPOSTCOERCE +#include <mpdir/mplib.h> +#endif /* MP */ |