1 | // Licensed to the .NET Foundation under one or more agreements. |
2 | // The .NET Foundation licenses this file to you under the MIT license. |
3 | // See the LICENSE file in the project root for more information. |
4 | //***************************************************************************** |
5 | // Intrinsic.h |
6 | // |
7 | // Force several very useful functions to be intrinsic, which means that the |
8 | // compiler will generate code inline for the functions instead of generating |
9 | // a call to the function. |
10 | // |
11 | //***************************************************************************** |
12 | |
13 | #ifndef __intrinsic_h__ |
14 | #define __intrinsic_h__ |
15 | |
16 | #ifdef _MSC_VER |
17 | #pragma intrinsic(memcmp) |
18 | #pragma intrinsic(memcpy) |
19 | #pragma intrinsic(memset) |
20 | #pragma intrinsic(strcmp) |
21 | #pragma intrinsic(strcpy) |
22 | #pragma intrinsic(strlen) |
23 | #endif // defined(_MSC_VER) |
24 | |
25 | #endif // __intrinsic_h__ |
26 | |