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.

38 lines
928 B

  1. /*** oldnames.h - Conversion of non-standard C runtime names
  2. *
  3. * Microsoft Confidential
  4. * Copyright (C) Microsoft Corporation 1993-1994
  5. * All Rights Reserved.
  6. *
  7. * History:
  8. * 01-Sep-1998 v-sbrend Initial version
  9. */
  10. #ifndef INCLUDED_OLDNAMES
  11. #define INCLUDED_OLDNAMES 1
  12. //
  13. // If this isn't a 16-bit generation define some of the older C
  14. // runtime routines as their ANSI counterparts. This must be included
  15. // after the header file that defines the non-standard routine.
  16. //
  17. // This will alleviate the need to link with oldnames.lib
  18. //
  19. #ifndef BIT16
  20. #define stricmp _stricmp
  21. #define strnicmp _strnicmp
  22. #define strdup _strdup
  23. #define lseek _lseek
  24. #define read _read
  25. #define write _write
  26. #define open _open
  27. #define close _close
  28. #define getch _getch
  29. #endif // BIT16
  30. #endif // INCLUDED_OLDNAMES