mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 15:53:03 +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
|
@ -4,6 +4,11 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable: 4164)
|
||||
#pragma function(memcmp)
|
||||
#endif
|
||||
|
||||
int memcmp(const void *s1, const void *s2, size_t n)
|
||||
{
|
||||
if (n != 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue