diff --git a/3rd/dmath/dmath b/3rd/dmath/dmath index f00cb4c3..7699e353 160000 --- a/3rd/dmath/dmath +++ b/3rd/dmath/dmath @@ -1 +1 @@ -Subproject commit f00cb4c3456d335556031c9331427e2ed8d30df3 +Subproject commit 7699e35384a578d9d195a8b15555d2e6ff6a81b3 diff --git a/src/modules/math.c b/src/modules/math.c index 09b5d590..294350e7 100644 --- a/src/modules/math.c +++ b/src/modules/math.c @@ -7,6 +7,12 @@ #include +#if PK_ENABLE_DETERMINISM + #ifndef _DMATH_H + #error "_DMATH_H not defined" + #endif +#endif + #define ONE_ARG_FUNC(name, func) \ static bool math_##name(int argc, py_Ref argv) { \ PY_CHECK_ARGC(1); \