| 
									
										
										
										
											2021-05-20 12:49:33 +02:00
										 |  |  | // Copyright 2009-2021 Intel Corporation
 | 
					
						
							| 
									
										
										
										
											2021-04-20 18:38:09 +02:00
										 |  |  | // SPDX-License-Identifier: Apache-2.0
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #pragma once
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #define RTC_VERSION_MAJOR 3
 | 
					
						
							| 
									
										
										
										
											2021-05-20 12:49:33 +02:00
										 |  |  | #define RTC_VERSION_MINOR 13
 | 
					
						
							| 
									
										
										
										
											2022-11-24 11:45:59 -03:00
										 |  |  | #define RTC_VERSION_PATCH 5
 | 
					
						
							|  |  |  | #define RTC_VERSION 31305
 | 
					
						
							|  |  |  | #define RTC_VERSION_STRING "3.13.5"
 | 
					
						
							| 
									
										
										
										
											2021-04-20 18:38:09 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | #define RTC_MAX_INSTANCE_LEVEL_COUNT 1
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #define EMBREE_MIN_WIDTH 0
 | 
					
						
							|  |  |  | #define RTC_MIN_WIDTH EMBREE_MIN_WIDTH
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-11-24 11:45:59 -03:00
										 |  |  | #if !defined(EMBREE_STATIC_LIB)
 | 
					
						
							|  |  |  | #   define EMBREE_STATIC_LIB
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | /* #undef EMBREE_API_NAMESPACE*/ | 
					
						
							| 
									
										
										
										
											2021-04-20 18:38:09 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | #if defined(EMBREE_API_NAMESPACE)
 | 
					
						
							|  |  |  | #  define RTC_NAMESPACE
 | 
					
						
							| 
									
										
										
										
											2022-11-24 11:45:59 -03:00
										 |  |  | #  define RTC_NAMESPACE_BEGIN namespace {
 | 
					
						
							| 
									
										
										
										
											2021-04-20 18:38:09 +02:00
										 |  |  | #  define RTC_NAMESPACE_END }
 | 
					
						
							| 
									
										
										
										
											2022-11-24 11:45:59 -03:00
										 |  |  | #  define RTC_NAMESPACE_USE using namespace;
 | 
					
						
							| 
									
										
										
										
											2021-04-20 18:38:09 +02:00
										 |  |  | #  define RTC_API_EXTERN_C
 | 
					
						
							|  |  |  | #  undef EMBREE_API_NAMESPACE
 | 
					
						
							|  |  |  | #else
 | 
					
						
							|  |  |  | #  define RTC_NAMESPACE_BEGIN
 | 
					
						
							|  |  |  | #  define RTC_NAMESPACE_END
 | 
					
						
							|  |  |  | #  define RTC_NAMESPACE_USE
 | 
					
						
							|  |  |  | #  if defined(__cplusplus)
 | 
					
						
							|  |  |  | #    define RTC_API_EXTERN_C extern "C"
 | 
					
						
							|  |  |  | #  else
 | 
					
						
							|  |  |  | #    define RTC_API_EXTERN_C
 | 
					
						
							|  |  |  | #  endif
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #if defined(ISPC)
 | 
					
						
							|  |  |  | #  define RTC_API_IMPORT extern "C" unmasked
 | 
					
						
							|  |  |  | #  define RTC_API_EXPORT extern "C" unmasked
 | 
					
						
							|  |  |  | #elif defined(EMBREE_STATIC_LIB)
 | 
					
						
							|  |  |  | #  define RTC_API_IMPORT RTC_API_EXTERN_C
 | 
					
						
							|  |  |  | #  define RTC_API_EXPORT RTC_API_EXTERN_C
 | 
					
						
							|  |  |  | #elif defined(_WIN32)
 | 
					
						
							|  |  |  | #  define RTC_API_IMPORT RTC_API_EXTERN_C __declspec(dllimport)
 | 
					
						
							|  |  |  | #  define RTC_API_EXPORT RTC_API_EXTERN_C __declspec(dllexport)
 | 
					
						
							|  |  |  | #else
 | 
					
						
							|  |  |  | #  define RTC_API_IMPORT RTC_API_EXTERN_C
 | 
					
						
							|  |  |  | #  define RTC_API_EXPORT RTC_API_EXTERN_C __attribute__ ((visibility ("default")))
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #if defined(RTC_EXPORT_API)
 | 
					
						
							|  |  |  | #  define RTC_API RTC_API_EXPORT
 | 
					
						
							|  |  |  | #else
 | 
					
						
							|  |  |  | #  define RTC_API RTC_API_IMPORT
 | 
					
						
							|  |  |  | #endif
 |