diff options
author | marha <marha@users.sourceforge.net> | 2010-02-22 21:21:52 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-02-22 21:21:52 +0000 |
commit | 78fbd02c8330f7d82fd4004fadfb5a6e20a2b1b0 (patch) | |
tree | 0d4db9aaa8b25d16c53b0a79c12a497663ee47aa /xorg-server | |
parent | 318cb00577b21cbc69736cf86b19c5db5cb3caa3 (diff) | |
download | vcxsrv-78fbd02c8330f7d82fd4004fadfb5a6e20a2b1b0.tar.gz vcxsrv-78fbd02c8330f7d82fd4004fadfb5a6e20a2b1b0.tar.bz2 vcxsrv-78fbd02c8330f7d82fd4004fadfb5a6e20a2b1b0.zip |
Solved 'ceil' undefined
Diffstat (limited to 'xorg-server')
-rw-r--r-- | xorg-server/dix/getevents.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xorg-server/dix/getevents.c b/xorg-server/dix/getevents.c index 8134c4d77..40fe4b7bb 100644 --- a/xorg-server/dix/getevents.c +++ b/xorg-server/dix/getevents.c @@ -63,6 +63,8 @@ #include "listdev.h" /* for sizing up DeviceClassesChangedEvent */
#ifdef _MSC_VER
+#include <math.h>
+
float roundf(float f)
{
return ((f<0.0f) ? ceil(f-.5) : floor (f+.5));
|