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