ROOT
master
Reference Guide
Loading...
Searching...
No Matches
platform.h
Go to the documentation of this file.
1
#ifndef BVH_V2_PLATFORM_H
2
#define BVH_V2_PLATFORM_H
3
4
#if defined(__clang__)
5
#define BVH_CLANG_ENABLE_FP_CONTRACT \
6
_Pragma("clang diagnostic push") \
7
_Pragma("clang diagnostic ignored \"-Wunknown-pragmas\"") \
8
_Pragma("STDC FP_CONTRACT ON") \
9
_Pragma("clang diagnostic pop")
10
#else
11
#define BVH_CLANG_ENABLE_FP_CONTRACT
12
#endif
13
14
#if defined(__GNUC__) || defined(__clang__)
15
#define BVH_ALWAYS_INLINE __attribute__((always_inline)) inline
16
#elif defined(_MSC_VER)
17
#define BVH_ALWAYS_INLINE __forceinline
18
#else
19
#define BVH_ALWAYS_INLINE inline
20
#endif
21
22
#endif
geom
geom
inc
bvh
v2
platform.h
ROOT master - Reference Guide Generated on Tue Jan 21 2025 04:12:08 (GVA Time) using Doxygen 1.10.0