From cb4a9d844fe547703606a6e646aaf05c396807c5 Mon Sep 17 00:00:00 2001 From: Joey Yakimowich-Payne Date: Thu, 23 Apr 2020 17:07:06 -0600 Subject: [PATCH] Fix tmath again --- tests/tmath.nim | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/tmath.nim b/tests/tmath.nim index 5a234db..b8477c1 100644 --- a/tests/tmath.nim +++ b/tests/tmath.nim @@ -13,7 +13,12 @@ when defined(windows): complex = object static: - cSkipSymbol @["math_errhandling"] + 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()