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.

35 lines
615 B

  1. /*++
  2. Copyright (c) Microsoft Corporation
  3. Module Name:
  4. preprocessor.h
  5. Abstract:
  6. Standard C/C++ Preprocessor magic.
  7. Author:
  8. Jay Krell (a-JayK, JayKrell) December 2000
  9. Environment:
  10. Revision History:
  11. --*/
  12. #pragma once
  13. #define PASTE_(x,y) x##y
  14. #define PASTE(x,y) PASTE_(x,y)
  15. #define STRINGIZE_(x) # x
  16. #define STRINGIZE(x) STRINGIZE_(x)
  17. #define STRINGIZEW(x) PASTE(L, STRINGIZE_(x))
  18. /* Visual C++ extension, rarely needed, useful in preprocessing .rgs files */
  19. #define CHARIZE_(x) #@ x
  20. #define CHARIZE(x) CHARIZE_(x)
  21. #define CHARIZEW(x) PASTE(L, CHARIZE_(x))