Skip to content

Commit 6fd2a2f

Browse files
committed
[SDK] Werid instrinct stuff
1 parent 6d5a093 commit 6fd2a2f

6 files changed

Lines changed: 0 additions & 30 deletions

File tree

sdk/lib/crt/string/tcsncmp.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
#include <stddef.h>
33
#include <tchar.h>
44

5-
#if defined(_MSC_VER) && (defined(_M_ARM) || _MSC_VER >= 1932) // VS2022 version 17.2 and later
6-
#pragma function(_tcsncmp)
7-
#endif /* _MSC_VER */
85

96
int _tcsncmp(const _TCHAR * s1, const _TCHAR * s2, size_t n)
107
{

sdk/lib/crt/string/tcsncpy.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
#include <stddef.h>
33
#include <tchar.h>
44

5-
#if defined(_MSC_VER) && (defined(_M_ARM) || _MSC_VER >= 1932) // VS2022 version 17.2 and later
6-
#pragma function(_tcsncpy)
7-
#endif /* _MSC_VER */
8-
95
_TCHAR * _tcsncpy(_TCHAR * dst, const _TCHAR * src, size_t n)
106
{
117
if(n != 0)

sdk/lib/ucrt/string/strncmp.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@
1111

1212
#include <string.h>
1313

14-
#if defined(_MSC_VER) && (defined(_M_ARM) || _MSC_VER >= 1932) // VS2022 version 17.2 and later
15-
#pragma function(strncmp)
16-
#endif
17-
1814
/***
1915
*int strncmp(first, last, count) - compare first count chars of strings
2016
*

sdk/lib/ucrt/string/strncpy.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010

1111
#include <string.h>
1212

13-
#if defined(_MSC_VER) && (defined(_M_ARM) || _MSC_VER >= 1932) // VS2022 version 17.2 and later
14-
#pragma function(strncpy)
15-
#endif
16-
1713
/***
1814
*char *strncpy(dest, source, count) - copy at most n characters
1915
*

sdk/lib/ucrt/string/wcsncmp.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@
1717
//
1818
#include <string.h>
1919

20-
21-
22-
#if defined(_MSC_VER) && (defined(_M_ARM) || _MSC_VER >= 1932) // VS2022 version 17.2 and later
23-
#pragma function(wcsncmp)
24-
#endif
25-
26-
27-
2820
extern "C" int __cdecl wcsncmp(
2921
wchar_t const* a,
3022
wchar_t const* b,

sdk/lib/ucrt/string/wcsncpy.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@
1111

1212
#pragma warning(disable:__WARNING_POSTCONDITION_NULLTERMINATION_VIOLATION) // 26036
1313

14-
15-
#if defined(_MSC_VER) && (defined(_M_ARM) || _MSC_VER >= 1932) // VS2022 version 17.2 and later
16-
#pragma function(wcsncpy)
17-
#endif
18-
19-
20-
2114
extern "C" wchar_t * __cdecl wcsncpy(
2215
wchar_t* const destination,
2316
wchar_t const* const source,

0 commit comments

Comments
 (0)