summaryrefslogtreecommitdiffstats
path: root/Modules/sha256module.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/sha256module.c')
-rw-r--r--Modules/sha256module.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/sha256module.c b/Modules/sha256module.c
index 5858071..17ee866 100644
--- a/Modules/sha256module.c
+++ b/Modules/sha256module.c
@@ -15,6 +15,9 @@
*/
/* SHA objects */
+#ifndef Py_BUILD_CORE_BUILTIN
+# define Py_BUILD_CORE_MODULE 1
+#endif
#include "Python.h"
#include "pycore_bitutils.h" // _Py_bswap32()