[ros-dev] Re: [ros-diffs] [greatlrd] 20713: fix cmd build with MSVC
2005
Thomas Weidenmueller
w3seek at reactos.com
Sun Jan 8 20:23:02 CET 2006
greatlrd at 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
More information about the Ros-dev
mailing list