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.

41 lines
771 B

  1. /***
  2. *use_ansi.h - pragmas for ANSI Standard C++ libraries
  3. *
  4. * Copyright (c) 1996-2001, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * This header is intended to force the use of the appropriate ANSI
  8. * Standard C++ libraries whenever it is included.
  9. *
  10. * [Public]
  11. *
  12. ****/
  13. #ifndef _USE_ANSI_CPP
  14. #define _USE_ANSI_CPP
  15. #ifdef _MT
  16. #ifdef _DLL
  17. #ifdef _DEBUG
  18. #pragma comment(lib,"msvcprtd")
  19. #else // _DEBUG
  20. #pragma comment(lib,"msvcprt")
  21. #endif // _DEBUG
  22. #else // _DLL
  23. #ifdef _DEBUG
  24. #pragma comment(lib,"libcpmtd")
  25. #else // _DEBUG
  26. #pragma comment(lib,"libcpmt")
  27. #endif // _DEBUG
  28. #endif // _DLL
  29. #else // _MT
  30. #ifdef _DEBUG
  31. #pragma comment(lib,"libcpd")
  32. #else // _DEBUG
  33. #pragma comment(lib,"libcp")
  34. #endif // _DEBUG
  35. #endif
  36. #endif // _USE_ANSI_CPP