fix rosperf build
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 13 Dec 2008 23:48:38 +0000 (23:48 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 13 Dec 2008 23:48:38 +0000 (23:48 +0000)
svn path=/trunk/; revision=38061

rosapps/applications/sysutils/utils/rosperf/rosperf.c
rosapps/applications/sysutils/utils/rosperf/rosperf.rbuild

index 91cd0d5..77148a8 100644 (file)
@@ -170,7 +170,7 @@ DisplayStatus(HWND Label, LPCWSTR Message, LPCWSTR Test, int Try)
 {
   WCHAR Status[128];
 
 {
   WCHAR Status[128];
 
-  snwprintf(Status, sizeof(Status) / sizeof(Status[0]), L"%d %s %s", Try, Message, Test);
+  _snwprintf(Status, sizeof(Status) / sizeof(Status[0]), L"%d %s %s", Try, Message, Test);
   SetWindowTextW(Label, Status);
   InvalidateRect(Label, NULL, TRUE);
   UpdateWindow(Label);
   SetWindowTextW(Label, Status);
   InvalidateRect(Label, NULL, TRUE);
   UpdateWindow(Label);
index d48ed7a..004997a 100644 (file)
@@ -2,6 +2,7 @@
     <include base="rosperf">.</include>
     <define name="UNICODE" />
     <library>version</library>
     <include base="rosperf">.</include>
     <define name="UNICODE" />
     <library>version</library>
+       <library>msvcrt</library>
     <library>msimg32</library>
     <library>gdi32</library>
     <library>shell32</library>
     <library>msimg32</library>
     <library>gdi32</library>
     <library>shell32</library>