[GDI32]
authorDaniel Reimer <reimer.daniel@freenet.de>
Wed, 10 Jun 2015 12:04:51 +0000 (12:04 +0000)
committerDaniel Reimer <reimer.daniel@freenet.de>
Wed, 10 Jun 2015 12:04:51 +0000 (12:04 +0000)
[USER32]
Fix release build.

svn path=/trunk/; revision=68102

reactos/win32ss/gdi/gdi32/wine/rosglue.c
reactos/win32ss/user/user32/windows/font.c

index 157977a..1b4adad 100644 (file)
@@ -519,6 +519,10 @@ _assert (
     DbgRaiseAssertionFailure();
 }
 
     DbgRaiseAssertionFailure();
 }
 
+#if defined(_MSC_VER) && (DBG != 1)
+// MSVC uses it's own in this case. Thus skipping it.
+#else
+
 double
 __cdecl
 atan2(
 double
 __cdecl
 atan2(
@@ -529,6 +533,8 @@ atan2(
     return 0.;
 }
 
     return 0.;
 }
 
+#endif
+
 /******************************************************************************/
 
 static
 /******************************************************************************/
 
 static
index 411ca50..66f4e1d 100644 (file)
@@ -46,6 +46,9 @@ DWORD WINAPI GdiGetCodePage(HDC hdc);
 
 #define assert(e) ((e) ? (void)0 : _font_assert(#e, __FILE__, __LINE__))
 
 
 #define assert(e) ((e) ? (void)0 : _font_assert(#e, __FILE__, __LINE__))
 
+#else
+#include <assert.h> 
+
 #endif
 
 void _font_assert(const char *msg, const char *file, int line)
 #endif
 
 void _font_assert(const char *msg, const char *file, int line)