ROOT
Version master
v6.34
v6.32
v6.30
v6.28
v6.26
v6.24
v6.22
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
Reference Guide
►
ROOT
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
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 Thu Apr 17 2025 16:05:06 (GVA Time) using Doxygen 1.10.0