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