From: Alex Ionescu Date: Sat, 7 Jan 2006 01:37:37 +0000 (+0000) Subject: - Properly set STDCALL as default convention, previous patch incorrectly set it as... X-Git-Tag: backups/expat-rbuild@40467~515 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=eac981c51983092b666d89313620a46046496333;hp=38b2f3f3cc3abd1084a10e9ae875c14d70b64b69 - Properly set STDCALL as default convention, previous patch incorrectly set it as a linker setting instead of a compiler setting. svn path=/trunk/; revision=20640 --- diff --git a/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp b/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp index f6c6e04c4a0..0b9c67a6bfe 100644 --- a/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp +++ b/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp @@ -341,6 +341,7 @@ MSVCBackend::_generate_vcproj ( const Module& module ) fprintf ( OUT, "\t\t\t\tDetect64BitPortabilityProblems=\"%s\"\r\n", speed ? "FALSE" : "TRUE"); if ( !module.cplusplus ) fprintf ( OUT, "\t\t\t\tCompileAs=\"1\"\r\n" ); + fprintf ( OUT, "\t\t\t\tCallingConvention=\"%d\"\r\n", (sys || (exe && module.type == Kernel)) ? 2: 1); fprintf ( OUT, "\t\t\t\tDebugInformationFormat=\"%s\"/>\r\n", speed ? "0" : "4"); fprintf ( OUT, "\t\t\t