Source code of Windows XP (NT5)
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.

43 lines
1.0 KiB

  1. /***
  2. *useoldio.h - force the use of the Microsoft "classic" iostream libraries.
  3. *
  4. * Copyright (c) 1996-2000, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * Generates default library directives for the old ("classic") IOSTREAM
  8. * libraries. The exact name of the library specified in the directive
  9. * depends on the compiler switches (-ML, -MT, -MD, -MLd, -MTd, and -MDd).
  10. *
  11. * This header file is only included by other header files.
  12. *
  13. * [Public]
  14. *
  15. ****/
  16. #ifndef _USE_OLD_IOSTREAMS
  17. #define _USE_OLD_IOSTREAMS
  18. #ifdef _MT
  19. #ifdef _DLL
  20. #ifdef _DEBUG
  21. #pragma comment(lib,"msvcirtd")
  22. #else /* _DEBUG */
  23. #pragma comment(lib,"msvcirt")
  24. #endif /* _DEBUG */
  25. #else /* _DLL */
  26. #ifdef _DEBUG
  27. #pragma comment(lib,"libcimtd")
  28. #else /* _DEBUG */
  29. #pragma comment(lib,"libcimt")
  30. #endif /* _DEBUG */
  31. #endif /* _DLL */
  32. #else /* _MT */
  33. #ifdef _DEBUG
  34. #pragma comment(lib,"libcid")
  35. #else /* _DEBUG */
  36. #pragma comment(lib,"libci")
  37. #endif /* _DEBUG */
  38. #endif
  39. #endif /* _USE_OLD_IOSTREAMS */