summaryrefslogtreecommitdiffstats
path: root/Modules/_math.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_math.c')
-rw-r--r--Modules/_math.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/_math.c b/Modules/_math.c
index 68e3a23..c1936a1 100644
--- a/Modules/_math.c
+++ b/Modules/_math.c
@@ -1,6 +1,10 @@
/* Definitions of some C99 math library functions, for those platforms
that don't implement these functions already. */
+#ifndef Py_BUILD_CORE_BUILTIN
+# define Py_BUILD_CORE_MODULE 1
+#endif
+
#include "Python.h"
#include <float.h>
#include "_math.h"