rtcore_version.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. // ======================================================================== //
  2. // Copyright 2009-2018 Intel Corporation //
  3. // //
  4. // Licensed under the Apache License, Version 2.0 (the "License"); //
  5. // you may not use this file except in compliance with the License. //
  6. // You may obtain a copy of the License at //
  7. // //
  8. // http://www.apache.org/licenses/LICENSE-2.0 //
  9. // //
  10. // Unless required by applicable law or agreed to in writing, software //
  11. // distributed under the License is distributed on an "AS IS" BASIS, //
  12. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. //
  13. // See the License for the specific language governing permissions and //
  14. // limitations under the License. //
  15. // ======================================================================== //
  16. #define RTC_VERSION_MAJOR 3
  17. #define RTC_VERSION_MINOR 5
  18. #define RTC_VERSION_PATCH 2
  19. #define RTC_VERSION 30502
  20. #define RTC_VERSION_STRING "3.5.2"
  21. #define EMBREE_STATIC_LIB
  22. /* #undef EMBREE_API_NAMESPACE */
  23. #if defined(EMBREE_API_NAMESPACE)
  24. # define RTC_NAMESPACE
  25. # define RTC_NAMESPACE_BEGIN namespace {
  26. # define RTC_NAMESPACE_END }
  27. # define RTC_NAMESPACE_OPEN using namespace ;
  28. # define RTC_API_EXTERN_C
  29. # undef EMBREE_API_NAMESPACE
  30. #else
  31. # define RTC_NAMESPACE_BEGIN
  32. # define RTC_NAMESPACE_END
  33. # define RTC_NAMESPACE_OPEN
  34. # if defined(__cplusplus)
  35. # define RTC_API_EXTERN_C extern "C"
  36. # else
  37. # define RTC_API_EXTERN_C
  38. # endif
  39. #endif
  40. #if defined(ISPC)
  41. # define RTC_API_IMPORT extern "C" unmasked
  42. # define RTC_API_EXPORT extern "C" unmasked
  43. #elif defined(EMBREE_STATIC_LIB)
  44. # define RTC_API_IMPORT RTC_API_EXTERN_C
  45. # define RTC_API_EXPORT RTC_API_EXTERN_C
  46. #elif defined(_WIN32)
  47. # define RTC_API_IMPORT RTC_API_EXTERN_C __declspec(dllimport)
  48. # define RTC_API_EXPORT RTC_API_EXTERN_C __declspec(dllexport)
  49. #else
  50. # define RTC_API_IMPORT RTC_API_EXTERN_C
  51. # define RTC_API_EXPORT RTC_API_EXTERN_C __attribute__ ((visibility ("default")))
  52. #endif
  53. #if defined(RTC_EXPORT_API)
  54. # define RTC_API RTC_API_EXPORT
  55. #else
  56. # define RTC_API RTC_API_IMPORT
  57. #endif