Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
990 B

  1. /*
  2. * porting macros for c runtimes - use these to let 16 bit crt calls work
  3. * properly on 32 bit code.
  4. */
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif
  8. #define _ffree free
  9. #define _fmalloc malloc
  10. #define _fmemccpy memccpy
  11. #define _fmemchr memchr
  12. #define _fmemcmp memcmp
  13. #define _fmemcpy memcpy
  14. #define _fmemicmp _memicmp
  15. #define _fmemmove memmove
  16. #define _fmemset memset
  17. #define _frealloc realloc
  18. #define _fstrcat strcat
  19. #define _fstrchr strchr
  20. #define _fstrcmp strcmp
  21. #define _fstrcpy strcpy
  22. #define _fstrcspn strcspn
  23. #define _fstrdup _strdup
  24. #define _fstricmp _stricmp
  25. #define _fstrlen strlen
  26. #define _fstrlwr _strlwr
  27. #define _fstrncat strncat
  28. #define _fstrncmp strncmp
  29. #define _fstrncpy strncpy
  30. #define _fstrnicmp _strnicmp
  31. #define _fstrnset strnset
  32. #define _fstrpbrk strpbrk
  33. #define _fstrrchr strrchr
  34. #define _fstrrev strrev
  35. #define _fstrset strset
  36. #define _fstrspn strspn
  37. #define _fstrstr strstr
  38. #define _fstrtok strtok
  39. #define _fstrupr _strupr