diff options
Diffstat (limited to 'xorg-server/mi/miarc.c')
-rwxr-xr-x[-rw-r--r--] | xorg-server/mi/miarc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xorg-server/mi/miarc.c b/xorg-server/mi/miarc.c index e8bc87e3e..fa7befac1 100644..100755 --- a/xorg-server/mi/miarc.c +++ b/xorg-server/mi/miarc.c @@ -63,6 +63,11 @@ SOFTWARE. #include "mifillarc.h" #include <X11/Xfuncproto.h> +#ifdef _MSC_VER +#define hypot _hypot +#define HAVE_CBRT +#endif + #define EPSILON 0.000001 #define ISEQUAL(a,b) (fabs((a) - (b)) <= EPSILON) #define UNEQUAL(a,b) (fabs((a) - (b)) > EPSILON) |