HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rtcore_config.h
Go to the documentation of this file.
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 
17 #pragma once
18 
19 #define RTC_VERSION_MAJOR 3
20 #define RTC_VERSION_MINOR 6
21 #define RTC_VERSION_PATCH 1
22 #define RTC_VERSION 30601
23 #define RTC_VERSION_STRING "3.6.1"
24 
25 #define RTC_MAX_INSTANCE_LEVEL_COUNT 1
26 
27 /* #undef EMBREE_STATIC_LIB */
28 #define EMBREE_API_NAMESPACE
29 
30 #if defined(EMBREE_API_NAMESPACE)
31 # define RTC_NAMESPACE embree_3_6_1_sidefx
32 # define RTC_NAMESPACE_BEGIN namespace embree_3_6_1_sidefx {
33 # define RTC_NAMESPACE_END }
34 # define RTC_NAMESPACE_OPEN using namespace embree_3_6_1_sidefx;
35 # define RTC_API_EXTERN_C
36 # undef EMBREE_API_NAMESPACE
37 #else
38 # define RTC_NAMESPACE_BEGIN
39 # define RTC_NAMESPACE_END
40 # define RTC_NAMESPACE_OPEN
41 # if defined(__cplusplus)
42 # define RTC_API_EXTERN_C extern "C"
43 # else
44 # define RTC_API_EXTERN_C
45 # endif
46 #endif
47 
48 #if defined(ISPC)
49 # define RTC_API_IMPORT extern "C" unmasked
50 # define RTC_API_EXPORT extern "C" unmasked
51 #elif defined(EMBREE_STATIC_LIB)
52 # define RTC_API_IMPORT RTC_API_EXTERN_C
53 # define RTC_API_EXPORT RTC_API_EXTERN_C
54 #elif defined(_WIN32)
55 # define RTC_API_IMPORT RTC_API_EXTERN_C __declspec(dllimport)
56 # define RTC_API_EXPORT RTC_API_EXTERN_C __declspec(dllexport)
57 #else
58 # define RTC_API_IMPORT RTC_API_EXTERN_C
59 # define RTC_API_EXPORT RTC_API_EXTERN_C __attribute__ ((visibility ("default")))
60 #endif
61 
62 #if defined(RTC_EXPORT_API)
63 # define RTC_API RTC_API_EXPORT
64 #else
65 # define RTC_API RTC_API_IMPORT
66 #endif