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.

19 lines
439 B

  1. #ifndef _DEBUG
  2. #define DEBUG(s)
  3. #define DEBUG1(s1,s2)
  4. #define DEBUG2(s1,s2)
  5. #else
  6. #define DEBUG(s) wprintf(L"%s\n", L##s)
  7. #define DEBUG1(s1,s2) wprintf(L##s1, L##s2)
  8. #define DEBUG2(s1,s2) wprintf(L##s1, L##s2)
  9. #endif
  10. #define PRINT(s) wprintf(L"%s\n",s)
  11. #define PRINT1(s,s1) wprintf(L##s , L##s1)
  12. #define is ==
  13. #define isnot !=
  14. #define or ||
  15. #define and &&
  16. #define FREE_STRING_NOT_NULL(ptszString) if (ptszString) FreeString(ptszString)