]> granicus.if.org Git - python/commitdiff
Merged revisions 68174 via svnmerge from
authorBenjamin Peterson <benjamin@python.org>
Fri, 2 Jan 2009 21:24:04 +0000 (21:24 +0000)
committerBenjamin Peterson <benjamin@python.org>
Fri, 2 Jan 2009 21:24:04 +0000 (21:24 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68174 | benjamin.peterson | 2009-01-02 14:47:27 -0600 (Fri, 02 Jan 2009) | 1 line

  fix compilation on non-Windows platforms
........

Python/pythonrun.c

index a3cce33bed71de12511ac7048e6f7b955a77cb3f..c5f7e23adcf6e8ab737b38ef0d4972fafef1f9e3 100644 (file)
@@ -23,7 +23,9 @@
 #include <signal.h>
 #endif
 
+#ifdef MS_WINDOWS
 #include "malloc.h" /* for alloca */
+#endif
 
 #ifdef HAVE_LANGINFO_H
 #include <locale.h>