[ros-diffs] [sginsberg] 38918: - Remove outdated msvcrt Winetest compilation hack, add _CRT_NONSTDC_NO_DEPRECATE to silence the 'unlink' warnings

sginsberg at svn.reactos.org sginsberg at svn.reactos.org
Sun Jan 18 22:35:19 CET 2009


Author: sginsberg
Date: Sun Jan 18 15:35:18 2009
New Revision: 38918

URL: http://svn.reactos.org/svn/reactos?rev=38918&view=rev
Log:
- Remove outdated msvcrt Winetest compilation hack, add _CRT_NONSTDC_NO_DEPRECATE to silence the 'unlink' warnings

Modified:
    trunk/rostests/winetests/msvcrt/msvcrt.rbuild
    trunk/rostests/winetests/msvcrt/string.c

Modified: trunk/rostests/winetests/msvcrt/msvcrt.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/msvcrt/msvcrt.rbuild?rev=38918&r1=38917&r2=38918&view=diff
==============================================================================
--- trunk/rostests/winetests/msvcrt/msvcrt.rbuild [iso-8859-1] (original)
+++ trunk/rostests/winetests/msvcrt/msvcrt.rbuild [iso-8859-1] Sun Jan 18 15:35:18 2009
@@ -7,6 +7,7 @@
 	<include base="msvcrt">include/reactos/wine/msvcrt</include>
 	<define name="__USE_W32API" />
     <define name="__ROS_LONG64__" />
+	<define name="_CRT_NONSTDC_NO_DEPRECATE" />
 	<library>kernel32</library>
 	<library>msvcrt</library>
 	<file>cpp.c</file>

Modified: trunk/rostests/winetests/msvcrt/string.c
URL: http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/msvcrt/string.c?rev=38918&r1=38917&r2=38918&view=diff
==============================================================================
--- trunk/rostests/winetests/msvcrt/string.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/msvcrt/string.c [iso-8859-1] Sun Jan 18 15:35:18 2009
@@ -28,8 +28,6 @@
 #include <locale.h>
 #include <errno.h>
 
-size_t _mbstrlen(const char*);
-
 static char *buf_to_string(const unsigned char *bin, int len, int nr)
 {
     static char buf[2][1024];



More information about the Ros-diffs mailing list