include.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /******************************************************************************/
  2. #if !WINDOWS
  3. typedef U32 DWORD;
  4. #define _In_range_(a, b)
  5. #define _In_
  6. #define _Out_
  7. #define _Inout_
  8. #define _Analysis_assume_(x)
  9. #define _Out_opt_
  10. #define _Out_writes_(x)
  11. #define _Out_writes_opt_(x)
  12. #define _Out_writes_all_(x)
  13. #define _Out_writes_bytes_(x)
  14. #define _In_reads_(x)
  15. #define _In_reads_bytes_(x)
  16. #define _In_reads_opt_(x)
  17. #define _Inout_updates_all_(x)
  18. #define _Inout_updates_all_opt_(x)
  19. #define _Inout_updates_bytes_all_(x)
  20. #define _Use_decl_annotations_
  21. #define _When_(x, y)
  22. #define _Success_(x)
  23. #define XMGLOBALCONST const
  24. #undef XM_DEPRECATED
  25. #define XM_DEPRECATED
  26. #define ARRAYSIZE(A) Elms(A)
  27. #define UNREFERENCED_PARAMETER(P)
  28. #define _XM_NO_INTRINSICS_
  29. #define XM_CALLCONV
  30. #endif
  31. #if WINDOWS_NEW // WINDOWS_NEW already has these headers included always, and including our custom ones would introduce conflict, so in this case always use system headers
  32. #include <DirectXMath.h>
  33. #include <DirectXPackedVector.h>
  34. #else
  35. #include "DirectXMath.h"
  36. #include "DirectXPackedVector.h"
  37. #endif
  38. /******************************************************************************/