Author: tkreuzer
Date: Mon Jun 22 18:15:35 2009
New Revision: 41546
URL:
http://svn.reactos.org/svn/reactos?rev=41546&view=rev
Log:
Add _FLOATOBJ_GetFix for non-x86
Modified:
branches/ros-amd64-bringup/reactos/subsystems/win32/win32k/include/floatobj.h
Modified: branches/ros-amd64-bringup/reactos/subsystems/win32/win32k/include/floatobj.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/subsy…
==============================================================================
--- branches/ros-amd64-bringup/reactos/subsystems/win32/win32k/include/floatobj.h
[iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/subsystems/win32/win32k/include/floatobj.h
[iso-8859-1] Mon Jun 22 18:15:35 2009
@@ -65,6 +65,7 @@
#define _FLOATOBJ_IsLong(pf) ((FLOAT)((LONG)*(pf)) == *(pf))
#define _FLOATOBJ_Equal0(pf) (*(pf) == 0.)
#define _FLOATOBJ_Equal1(pf) (*(pf) == 1.)
+#define _FLOATOBJ_GetFix(pf) ((LONG)(*(pf) * 16.))
#define FLOATOBJ_Set0(fo) *(fo) = 0;
#define FLOATOBJ_Set1(fo) *(fo) = 1;