mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:43:04 +00:00
[CRT]
On MSVC mark abs, labs and strcmp as intrinsics (needed when compiling with /O2+) and disable a warning that they are not intrinsics (when compiled with /O1) svn path=/branches/cmake-bringup/; revision=50494
This commit is contained in:
parent
6b8ea6b64e
commit
0fab7e8671
5 changed files with 17 additions and 1 deletions
|
@ -460,7 +460,7 @@ _FUNCTION_ {
|
|||
if ((*(format - 1)) < *(format + 1))
|
||||
RtlSetBits(&bitMask, *(format - 1) +1 , *(format + 1) - *(format - 1));
|
||||
else
|
||||
RtlSetBits(&bitMask, *(format + 1) , *(format - 1) - *(format + 1));
|
||||
RtlSetBits(&bitMask, *(format + 1) , *(format - 1) - *(format + 1));
|
||||
format++;
|
||||
} else
|
||||
RtlSetBits(&bitMask, *format, 1);
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
#define __int64 long long
|
||||
#elif defined(_MSC_VER)
|
||||
#pragma warning(disable: 4164)
|
||||
#pragma function(_strset)
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue