diff options
author | marha <marha@users.sourceforge.net> | 2010-01-24 12:57:19 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-01-24 12:57:19 +0000 |
commit | c30175e5dfc83c42eba93614ce7c084236f348a9 (patch) | |
tree | 2e49ffc58ee77d75bb54c98949ab7bc329146b64 /libXfont/src/bitmap/bitscale.c | |
parent | 7ee8516a0f5ccb3d6adaa094de9180b5a17fc50c (diff) | |
download | vcxsrv-c30175e5dfc83c42eba93614ce7c084236f348a9.tar.gz vcxsrv-c30175e5dfc83c42eba93614ce7c084236f348a9.tar.bz2 vcxsrv-c30175e5dfc83c42eba93614ce7c084236f348a9.zip |
Remap hypot to _hypot.
Make sure the strdup prototype is included.
Diffstat (limited to 'libXfont/src/bitmap/bitscale.c')
-rw-r--r-- | libXfont/src/bitmap/bitscale.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libXfont/src/bitmap/bitscale.c b/libXfont/src/bitmap/bitscale.c index a4d991d3b..1ef21c336 100644 --- a/libXfont/src/bitmap/bitscale.c +++ b/libXfont/src/bitmap/bitscale.c @@ -60,6 +60,10 @@ from The Open Group. #define MAX(a,b) (((a)>(b)) ? a : b) #endif +#ifdef _MSC_VER +#define hypot _hypot +#endif + /* Should get this from elsewhere */ extern unsigned long serverGeneration; |