aboutsummaryrefslogtreecommitdiff
path: root/tests/tmath.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tmath.nim')
-rw-r--r--tests/tmath.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/tmath.nim b/tests/tmath.nim
index 5d84700..b8477c1 100644
--- a/tests/tmath.nim
+++ b/tests/tmath.nim
@@ -13,6 +13,12 @@ when defined(windows):
complex = object
static:
+ when (NimMajor, NimMinor, NimPatch) < (1, 0, 0):
+ # FP_ILOGB0 and FP_ILOGBNAN are casts that are unsupported
+ # on lower Nim VMs
+ cSkipSymbol @["math_errhandling", "FP_ILOGB0", "FP_ILOGBNAN"]
+ else:
+ cSkipSymbol @["math_errhandling"]
cDebug()
cDisableCaching()
cAddStdDir()