Ingen beskrivning
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.

BaselibDeprecatedDefinesPostInclude.h 1.0KB

1234567891011121314151617181920212223242526272829303132
  1. #pragma once
  2. //
  3. // The following is to ensure backwards compatibility for deprecated defines
  4. // This file (and references) as well as the corresponding pre-include should be removed once deprecated defines
  5. // have been removed in all Unity code repositories using baselib.
  6. //
  7. // Set for testing compliance integrity (all deprecated defines removed from code-base)
  8. #ifndef BASELIB_DISABLE_DEPRECATED_DEFINES_HEADER
  9. #ifndef PLATFORM_FUTEX_NATIVE_SUPPORT
  10. #define PLATFORM_FUTEX_NATIVE_SUPPORT PLATFORM_HAS_NATIVE_FUTEX
  11. #endif
  12. #ifndef PLATFORM_LLSC_NATIVE_SUPPORT
  13. #define PLATFORM_LLSC_NATIVE_SUPPORT PLATFORM_HAS_NATIVE_LLSC
  14. #endif
  15. #ifndef PLATFORM_POSIX_SOCKET_IP6_SUPPORT
  16. #define PLATFORM_POSIX_SOCKET_IP6_SUPPORT PLATFORM_HAS_POSIX_SOCKET_IPV6_SUPPORT
  17. #endif
  18. #ifndef PLATFORM_CACHE_LINE_SIZE
  19. #define PLATFORM_CACHE_LINE_SIZE PLATFORM_PROPERTY_CACHE_LINE_SIZE
  20. #endif
  21. #ifndef PLATFORM_MEMORY_MALLOC_MIN_ALIGNMENT
  22. #define PLATFORM_MEMORY_MALLOC_MIN_ALIGNMENT PLATFORM_PROPERTY_MEMORY_MALLOC_MIN_ALIGNMENT
  23. #endif
  24. #endif // BASELIB_DISABLE_DEPRECATED_DEFINES_HEADER