We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f8b6f3 commit 0452d6eCopy full SHA for 0452d6e
openvdb/openvdb/math/Half.h
@@ -200,6 +200,15 @@ namespace OPENVDB_VERSION_NAME {
200
namespace math {
201
namespace internal {
202
203
+// Use of lookup table is explicitly suppressed and the generation of
204
+// a lookup table is suppressed. This is required because we namespace
205
+// our type, but the lookup table is extern "C" and lacks a namespace.
206
+// Thus any attempt to link two versions of OpenVDB with different
207
+// namespaces will clash due to redefinition with a new type.
208
+// The default was not to use a lookup table.
209
+#undef IMATH_HALF_USE_LOOKUP_TABLE
210
+#define IMATH_HALF_NO_LOOKUP_TABLE
211
+
212
//-------------------------------------------------------------------------
213
// Limits
214
//
0 commit comments