[CRT][GDI32] Introduce atan2 library, use it for gdi32 to fix a crash. CORE-11521
[reactos.git] / reactos / win32ss / gdi / gdi32 / wine / rosglue.c
index 887f14f..edd1c8d 100644 (file)
@@ -511,6 +511,7 @@ SetWorldTransformForMetafile(
 }
 
 void
+__cdecl
 _assert (
     const char *exp,
     const char *file,
@@ -519,22 +520,6 @@ _assert (
     DbgRaiseAssertionFailure();
 }
 
-#if (_MSC_VER < 1900) && (DBG != 1)
-/* MSVC uses its own in this case. */
-#else
-
-double
-__cdecl
-atan2(
-    double y,
-    double x)
-{
-    __debugbreak();
-    return 0.;
-}
-
-#endif
-
 /******************************************************************************/
 
 static
@@ -852,7 +837,7 @@ DRIVER_Dispatch(
                                                  _va_arg_n(argptr, const POINT*, 0),
                                                  _va_arg_n(argptr, DWORD, 1));
         case DCFUNC_PolyDraw:
-            DPRINT1("DCFUNC_PolyDraw not implemented\n");;
+            DPRINT1("DCFUNC_PolyDraw not implemented\n");
             return FALSE;
             return physdev->funcs->pPolyDraw(physdev,
                                              _va_arg_n(argptr, const POINT*, 1),
@@ -867,7 +852,7 @@ DRIVER_Dispatch(
                                              _va_arg_n(argptr, const POINT*, 0),
                                              _va_arg_n(argptr, INT, 1));
         case DCFUNC_PolylineTo:
-            DPRINT1("DCFUNC_PolylineTo not implemented\n");;
+            DPRINT1("DCFUNC_PolylineTo not implemented\n");
             return FALSE;
             return physdev->funcs->pPolylineTo(physdev,
                                                _va_arg_n(argptr, const POINT*, 0),