From c30175e5dfc83c42eba93614ce7c084236f348a9 Mon Sep 17 00:00:00 2001 From: marha Date: Sun, 24 Jan 2010 12:57:19 +0000 Subject: Remap hypot to _hypot. Make sure the strdup prototype is included. --- libXfont/src/fontfile/fontscale.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libXfont/src/fontfile/fontscale.c') diff --git a/libXfont/src/fontfile/fontscale.c b/libXfont/src/fontfile/fontscale.c index 8002dde81..cdc43082f 100644 --- a/libXfont/src/fontfile/fontscale.c +++ b/libXfont/src/fontfile/fontscale.c @@ -37,6 +37,10 @@ in this Software without prior written authorization from The Open Group. #include #include +#ifdef _MSC_VER +#define hypot _hypot +#endif + Bool FontFileAddScaledInstance (FontEntryPtr entry, FontScalablePtr vals, FontPtr pFont, char *bitmapName) -- cgit v1.2.3