42 lines
949 B
C
42 lines
949 B
C
|
/*
|
||
|
* porting macros for c runtimes - use these to let 16 bit crt calls work
|
||
|
* properly on 32 bit code.
|
||
|
*/
|
||
|
|
||
|
#if _MSC_VER > 1000
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
#define _ffree free
|
||
|
#define _fmalloc malloc
|
||
|
#define _fmemccpy memccpy
|
||
|
#define _fmemchr memchr
|
||
|
#define _fmemcmp memcmp
|
||
|
#define _fmemcpy memcpy
|
||
|
#define _fmemicmp _memicmp
|
||
|
#define _fmemmove memmove
|
||
|
#define _fmemset memset
|
||
|
#define _frealloc realloc
|
||
|
#define _fstrcat strcat
|
||
|
#define _fstrchr strchr
|
||
|
#define _fstrcmp strcmp
|
||
|
#define _fstrcpy strcpy
|
||
|
#define _fstrcspn strcspn
|
||
|
#define _fstrdup _strdup
|
||
|
#define _fstricmp _stricmp
|
||
|
#define _fstrlen strlen
|
||
|
#define _fstrlwr _strlwr
|
||
|
#define _fstrncat strncat
|
||
|
#define _fstrncmp strncmp
|
||
|
#define _fstrncpy strncpy
|
||
|
#define _fstrnicmp _strnicmp
|
||
|
#define _fstrnset strnset
|
||
|
#define _fstrpbrk strpbrk
|
||
|
#define _fstrrchr strrchr
|
||
|
#define _fstrrev strrev
|
||
|
#define _fstrset strset
|
||
|
#define _fstrspn strspn
|
||
|
#define _fstrstr strstr
|
||
|
#define _fstrtok strtok
|
||
|
#define _fstrupr _strupr
|