1#ifndef POSIX_OVERWRTIES_H
2#define POSIX_OVERWRTIES_H
8 #define strcasecmp _stricmp
10 #define stricmp _stricmp
11 #define strncasecmp strnicmp
12 #define strnicmp _strnicmp
17 #pragma warning(disable : 4996)
18 #define _CRT_SECURE_NO_WARNINGS
38 #define strcat(arg1, arg2) strcat_s(arg1, sizeof(arg1), arg2)
39 #define strcpy(arg1, arg2) strcpy_s(arg1, _countof(arg1), arg2)
40 #define strncpy(arg1, arg2, arg3) \
41 strncpy_s(arg1, arg3, arg2, arg3)
42 #define sprintf(arg1, ...) \
43 sprintf_s(arg1, sizeof(arg1), __VA_ARGS__)