fixed some warnings when compile with msvc 2005
Modified: trunk/reactos/subsys/system/notepad/dialog.c
Modified: trunk/reactos/subsys/system/notepad/main.c
Modified: trunk/reactos/subsys/system/taskmgr/precomp.h
_____
Modified: trunk/reactos/subsys/system/notepad/dialog.c
--- trunk/reactos/subsys/system/notepad/dialog.c 2005-10-19
23:44:16 UTC (rev 18618)
+++ trunk/reactos/subsys/system/notepad/dialog.c 2005-10-19
23:45:55 UTC (rev 18619)
@@ -23,6 +23,8 @@
#define UNICODE
#define _UNICODE
+#define _CRT_SECURE_NO_DEPRECATE
+
#include <assert.h>
#include <stdio.h>
#include <windows.h>
_____
Modified: trunk/reactos/subsys/system/notepad/main.c
--- trunk/reactos/subsys/system/notepad/main.c 2005-10-19 23:44:16 UTC
(rev 18618)
+++ trunk/reactos/subsys/system/notepad/main.c 2005-10-19 23:45:55 UTC
(rev 18619)
@@ -25,6 +25,8 @@
#define UNICODE
#define _UNICODE
+#define _CRT_SECURE_NO_DEPRECATE
+
#include <windows.h>
#include <stdio.h>
#include <tchar.h>
_____
Modified: trunk/reactos/subsys/system/taskmgr/precomp.h
--- trunk/reactos/subsys/system/taskmgr/precomp.h 2005-10-19
23:44:16 UTC (rev 18618)
+++ trunk/reactos/subsys/system/taskmgr/precomp.h 2005-10-19
23:45:55 UTC (rev 18619)
@@ -1,3 +1,5 @@
+#define _CRT_SECURE_NO_DEPRECATE
+
#define WIN32_NO_STATUS
#include <windows.h>
#define NTOS_MODE_USER
Show replies by date