Skip to content

Commit 3c02e8d

Browse files
Fixing windows compilation bugs
1 parent 1d5f2d3 commit 3c02e8d

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

include/drjit/custom.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
#include <nanobind/intrusive/counter.h>
2222
#include <nanobind/intrusive/ref.h>
23+
#include <drjit/traversable_base.h>
2324

2425
NAMESPACE_BEGIN(drjit)
2526
NAMESPACE_BEGIN(detail)

include/drjit/traversable_base.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ NAMESPACE_END(detail)
7777
* in the function ``drjit::registry_put`` that takes a ``TraversableBase`` for
7878
* the pointer argument.
7979
*/
80-
struct DRJIT_EXPORT TraversableBase : public nanobind::intrusive_base {
80+
struct TraversableBase : public nanobind::intrusive_base {
8181
/**
8282
* \brief Traverse all jit arrays in this c++ object. For every jit
8383
* variable, the callback should be called, with the provided payload

src/python/scalar.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
BSD-style license that can be found in the LICENSE.txt file.
99
*/
1010

11+
#include <drjit/extra.h>
1112
#include "scalar.h"
1213
#include "random.h"
1314
#include "texture.h"

0 commit comments

Comments
 (0)