godot/thirdparty/embree/include/embree4/rtcore_config.h

// Copyright 2009-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0

#pragma once

#if !defined(EMBREE_SYCL_SUPPORT)
// #cmakedefine EMBREE_SYCL_SUPPORT
#endif

#define RTC_VERSION_MAJOR
#define RTC_VERSION_MINOR
#define RTC_VERSION_PATCH
#define RTC_VERSION
#define RTC_VERSION_STRING

#define RTC_MAX_INSTANCE_LEVEL_COUNT

// #cmakedefine EMBREE_GEOMETRY_INSTANCE_ARRAY
#if defined(EMBREE_GEOMETRY_INSTANCE_ARRAY)
  #define RTC_GEOMETRY_INSTANCE_ARRAY
#endif

// #cmakedefine01 EMBREE_SYCL_GEOMETRY_CALLBACK

#define EMBREE_MIN_WIDTH
#define RTC_MIN_WIDTH

#if !defined(EMBREE_STATIC_LIB)
#define EMBREE_STATIC_LIB
#endif
// #cmakedefine EMBREE_API_NAMESPACE

#if defined(EMBREE_API_NAMESPACE)
#define RTC_NAMESPACE
#define RTC_NAMESPACE_BEGIN
#define RTC_NAMESPACE_END
#define RTC_NAMESPACE_USE
#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
#  else
#define RTC_API_EXTERN_C
#  endif
#endif

#if defined(ISPC)
#define RTC_API_IMPORT
#define RTC_API_EXPORT
#elif defined(EMBREE_STATIC_LIB)
#define RTC_API_IMPORT
#define RTC_API_EXPORT
#elif defined(_WIN32)
#define RTC_API_IMPORT
#define RTC_API_EXPORT
#else
#define RTC_API_IMPORT
#define RTC_API_EXPORT
#endif

#if defined(RTC_EXPORT_API)
#define RTC_API
#else
#define RTC_API
#endif

#if defined(ISPC)
#define RTC_SYCL_INDIRECTLY_CALLABLE
#elif defined(__SYCL_DEVICE_ONLY__)
#define RTC_SYCL_INDIRECTLY_CALLABLE
#define RTC_SYCL_API
#else
#define RTC_SYCL_INDIRECTLY_CALLABLE
#define RTC_SYCL_API
#endif