From 08913e68f4682eb2ec1004dbff34ac05b8a34a78 Mon Sep 17 00:00:00 2001 From: fgenesis Date: Sun, 22 Sep 2024 03:24:08 +0200 Subject: [PATCH] tbsp lib update --- ExternalLibs/tbsp.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ExternalLibs/tbsp.hh b/ExternalLibs/tbsp.hh index 99f987a..2183fb0 100644 --- a/ExternalLibs/tbsp.hh +++ b/ExternalLibs/tbsp.hh @@ -93,10 +93,11 @@ tbsp::evalRange(p, NP, tmp, knots, cp, NCP, DEGREE, 0.2f, 0.5f); # define TBSP_ASSERT(x) #endif +// Optional, if it doesn't compile, replce with empty macro #define TBSP_RESTRICT __restrict #ifndef TBSP_HAS_CPP11 -# if (__cplusplus > 201103L) || (defined(_MSC_VER) && ((_MSC_VER+0) >= 1900)) +# if (__cplusplus >= 201103L) || (defined(_MSC_VER) && ((_MSC_VER+0) >= 1900)) # define TBSP_HAS_CPP11 1 # else # define TBSP_HAS_CPP11 0