rtcore_config.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. // Copyright 2009-2021 Intel Corporation
  2. // SPDX-License-Identifier: Apache-2.0
  3. #pragma once
  4. #define RTC_VERSION_MAJOR 3
  5. #define RTC_VERSION_MINOR 13
  6. #define RTC_VERSION_PATCH 5
  7. #define RTC_VERSION 31305
  8. #define RTC_VERSION_STRING "3.13.5"
  9. #define RTC_MAX_INSTANCE_LEVEL_COUNT 1
  10. #define EMBREE_MIN_WIDTH 0
  11. #define RTC_MIN_WIDTH EMBREE_MIN_WIDTH
  12. #if !defined(EMBREE_STATIC_LIB)
  13. # define EMBREE_STATIC_LIB
  14. #endif
  15. /* #undef EMBREE_API_NAMESPACE*/
  16. #if defined(EMBREE_API_NAMESPACE)
  17. # define RTC_NAMESPACE
  18. # define RTC_NAMESPACE_BEGIN namespace {
  19. # define RTC_NAMESPACE_END }
  20. # define RTC_NAMESPACE_USE using namespace;
  21. # define RTC_API_EXTERN_C
  22. # undef EMBREE_API_NAMESPACE
  23. #else
  24. # define RTC_NAMESPACE_BEGIN
  25. # define RTC_NAMESPACE_END
  26. # define RTC_NAMESPACE_USE
  27. # if defined(__cplusplus)
  28. # define RTC_API_EXTERN_C extern "C"
  29. # else
  30. # define RTC_API_EXTERN_C
  31. # endif
  32. #endif
  33. #if defined(ISPC)
  34. # define RTC_API_IMPORT extern "C" unmasked
  35. # define RTC_API_EXPORT extern "C" unmasked
  36. #elif defined(EMBREE_STATIC_LIB)
  37. # define RTC_API_IMPORT RTC_API_EXTERN_C
  38. # define RTC_API_EXPORT RTC_API_EXTERN_C
  39. #elif defined(_WIN32)
  40. # define RTC_API_IMPORT RTC_API_EXTERN_C __declspec(dllimport)
  41. # define RTC_API_EXPORT RTC_API_EXTERN_C __declspec(dllexport)
  42. #else
  43. # define RTC_API_IMPORT RTC_API_EXTERN_C
  44. # define RTC_API_EXPORT RTC_API_EXTERN_C __attribute__ ((visibility ("default")))
  45. #endif
  46. #if defined(RTC_EXPORT_API)
  47. # define RTC_API RTC_API_EXPORT
  48. #else
  49. # define RTC_API RTC_API_IMPORT
  50. #endif