PostExternalInclude.h 870 B

123456789101112131415161718192021222324
  1. // DO NOT PUT #pragma once or include guard check here
  2. // This header is designed to be able to be included multiple times
  3. // This header should only be used together with PreExternalInclude.h.
  4. // See PreExternalInclude.h for usage information.
  5. #ifndef DETAIL__PREEXTERNALINCLUDE_HAS_BEEN_INCLUDED
  6. #error "PostExternalInclude.h can only be included after PreExternalInclude.h got included before."
  7. #endif
  8. #undef DETAIL__PREEXTERNALINCLUDE_HAS_BEEN_INCLUDED
  9. // if 3rd party library made windows.h be included, undefine SendMessage
  10. // macro that winuser.h declared
  11. #if !DETAIL__WINUSER_H_HAS_BEEN_INCLUDED && defined(_WINUSER_)
  12. #undef SendMessage
  13. #endif
  14. #undef DETAIL__WINUSER_H_HAS_BEEN_INCLUDED
  15. #include "Internal/RedefineCompilerMacros.h"
  16. // undefine whatever might be defined already
  17. #include "Internal/UndefineCoreMacros.h"
  18. #include "Internal/CoreMacros.h"