diff Python/pythonrun.c @ 50462:68c9f8b6584d legacy-trunk

fix compilation on non-Windows platforms
author Benjamin Peterson <benjamin@python.org>
date Fri, 02 Jan 2009 20:47:27 +0000
parents 636a0ac9607b
children 9b358eae532a
line wrap: on
line diff
--- a/Python/pythonrun.c	Fri Jan 02 20:40:14 2009 +0000
+++ b/Python/pythonrun.c	Fri Jan 02 20:47:27 2009 +0000
@@ -22,7 +22,9 @@
 #include <signal.h>
 #endif
 
+#ifdef MS_WINDOWS
 #include "malloc.h" /* for alloca */
+#endif
 
 #ifdef HAVE_LANGINFO_H
 #include <locale.h>