aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/dix
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/dix')
-rw-r--r--xorg-server/dix/devices.c4
-rw-r--r--xorg-server/dix/getevents.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/xorg-server/dix/devices.c b/xorg-server/dix/devices.c
index c5c8daafe..1f5193c1b 100644
--- a/xorg-server/dix/devices.c
+++ b/xorg-server/dix/devices.c
@@ -86,10 +86,6 @@ SOFTWARE.
#include "xichangehierarchy.h" /* For XISendDeviceHierarchyEvent */
#include "syncsrv.h"
-#ifdef _MSC_VER
-#define isfinite(val) _finite(val)
-#endif
-
/** @file
* This file handles input device-related stuff.
*/
diff --git a/xorg-server/dix/getevents.c b/xorg-server/dix/getevents.c
index dd99c2895..3b87e17d4 100644
--- a/xorg-server/dix/getevents.c
+++ b/xorg-server/dix/getevents.c
@@ -78,10 +78,6 @@ typedef const char *string;
#ifdef _MSC_VER
#include <math.h>
-float roundf(float f)
-{
- return ((f<0.0f) ? ceil(f-.5) : floor (f+.5));
-}
double roundd(double f)
{
return ((f<0.0) ? ceil(f-.5) : floor (f+.5));