File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 28
28
#include < graph/GraphRunCtx.hpp>
29
29
#include < NvtxWrappers.hpp>
30
30
31
+ #ifdef _WIN32
32
+ // near defined in minwindef.h causing compile error on Windows.
33
+ #if defined(near)
34
+ #undef near
35
+ #endif
36
+
37
+ // far defined in minwindef.h causing compile error on Windows.
38
+ #if defined(far)
39
+ #undef far
40
+ #endif
41
+ #endif // _WIN32
42
+
31
43
extern " C" {
32
44
33
45
RGL_API rgl_status_t rgl_get_version_info (int32_t * out_major, int32_t * out_minor, int32_t * out_patch)
Original file line number Diff line number Diff line change 20
20
#include < macros/optix.hpp>
21
21
#include < RGLFields.hpp>
22
22
23
+ #ifdef _WIN32
24
+ // near defined in minwindef.h causing compile error on Windows.
25
+ #if defined(near)
26
+ #undef near
27
+ #endif
28
+
29
+ // far defined in minwindef.h causing compile error on Windows.
30
+ #if defined(far)
31
+ #undef far
32
+ #endif
33
+ #endif // _WIN32
34
+
23
35
void RaytraceNode::setParameters ()
24
36
{
25
37
const static Vec2f defaultRangeValue = Vec2f (0 .0f , FLT_MAX);
You can’t perform that action at this time.
0 commit comments