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.

26 lines
1016 B

  1. // this version of qistub is for retail only.
  2. // if clients (e.g. shell32) want debug version
  3. // they staticaly link to it (and the local version
  4. // overwrites this one
  5. #include "priv.h"
  6. #ifdef DEBUG
  7. // warning Warning WARNING!!!
  8. // priv.h's PCH has been built DEBUG, and now we're #undef'ing it.
  9. // so various macros are still 'on'. this leads to inconsistencies
  10. // in ../lib/qistub.cpp. i've hacked around this for the 1 known
  11. // pblm case in ../lib/qistub.cpp (DBEXEC).
  12. //
  13. // (and we can't just move the #undef up above priv.h, it will still
  14. // be ignored because the PCH already exists).
  15. //
  16. // i'm 99% sure that the reason we don't want DEBUG on here is to avoid
  17. // having any static data in shlwapi. that's an old restriction (though
  18. // still a perf issue) (but not for DEBUG...), so for DEBUG we can probably
  19. // just remove this entire hack. i haven't tested that theory yet though
  20. // so for now we'll continue to live w/ it.
  21. #undef DEBUG
  22. #endif
  23. #include "..\inc\qistub.cpp"