and remove the defines from here for _CRT_* backward compatiblity hacks
Modified: trunk/reactos/lib/crt/precomp.h
_____
Modified: trunk/reactos/lib/crt/precomp.h
--- trunk/reactos/lib/crt/precomp.h 2005-11-30 05:51:24 UTC (rev
19767)
+++ trunk/reactos/lib/crt/precomp.h 2005-11-30 05:52:40 UTC (rev
19768)
@@ -1,10 +1,8 @@
#ifndef _CRT_PRECOMP_H
#define _CRT_PRECOMP_H
-/* Some global constants to hack around the msvc build */
-/* These will go away or be moved soon enough */
-#define _CRT_NON_CONFORMING_SWPRINTFS
-#define _CRT_SECURE_NO_DEPRECATE
+/* We don't want to use the Microsoft CRT inline functions
+ so we hack around them in msvc build */
#define _INC_WTIME_INL
#define _INC_UTIME_INL
#define _INC_TIME_INL
define _CRT_SECURE_NO_DEPRECATE and _CRT_NON_CONFORMING_SWPRINTFS until
we have a strsafe lib that works for both msvc and mingw
Modified: trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
_____
Modified: trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
--- trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
2005-11-30 05:35:59 UTC (rev 19766)
+++ trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
2005-11-30 05:51:24 UTC (rev 19767)
@@ -86,6 +86,8 @@
ifs_list.push_back ( &module.non_if_data );
// this is a define in MinGW w32api, but not Microsoft's headers
+ defines.push_back ( "_CRT_SECURE_NO_DEPRECATE" );
+ defines.push_back ( "_CRT_NON_CONFORMING_SWPRINTFS" );
defines.push_back ( "STDCALL=__stdcall" );
while ( ifs_list.size() )