aboutsummaryrefslogtreecommitdiff
path: root/src/malloc.h
diff options
context:
space:
mode:
authorSkip Montanaro <[email protected]>2021-02-16 15:31:55 -0600
committerSkip Montanaro <[email protected]>2021-02-16 15:31:55 -0600
commitb23fc484036e2c492b048a5701ae0b8a93d422ae (patch)
tree14797fa54795bcf891c51d8e0208dbd2eea7ae7d /src/malloc.h
parentc7fc95b5c60eb8e2c18ecb2dad35af0d14aee920 (diff)
downloadpython-0.9.1-patched-QoL-b23fc484036e2c492b048a5701ae0b8a93d422ae.tar.xz
python-0.9.1-patched-QoL-b23fc484036e2c492b048a5701ae0b8a93d422ae.zip
The changes I needed to get it to build
Diffstat (limited to 'src/malloc.h')
-rw-r--r--src/malloc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/malloc.h b/src/malloc.h
index c2d9969..de2cc9f 100644
--- a/src/malloc.h
+++ b/src/malloc.h
@@ -36,6 +36,11 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define HAVE_STDLIB
#endif
+#ifdef __STDC__
+#define ANY void
+#define HAVE_STDLIB
+#endif
+
#ifndef ANY
#define ANY char
#endif