greatlrd(a)svn.reactos.org wrote:
fix cmd build with MSVC 2005
Modified: trunk/reactos/subsys/system/cmd/precomp.h
------------------------------------------------------------------------
*Modified: trunk/reactos/subsys/system/cmd/precomp.h*
--- trunk/reactos/subsys/system/cmd/precomp.h 2006-01-08 13:54:06 UTC (rev 20712)
+++ trunk/reactos/subsys/system/cmd/precomp.h 2006-01-08 15:22:56 UTC (rev 20713)
@@ -1,5 +1,6 @@
#ifdef _MSC_VER
#pragma warning ( disable : 4103 ) /* use #pragma pack to change alignment */
+#undef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
#endif//_MSC_VER
why not:
#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
#endif
- Thomas