Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:

It looks like my reluctance to add gettimeofday to core without using it there 
was well founded.  Simply adding a dummy call to _PyTime_gettimeofday in main() 
fixed the build problem.  This is a hack, of course, so I am still looking for 
suggestions on how to make this work.


===================================================================
--- Modules/python.c    (revision 82921)
+++ Modules/python.c    (working copy)
@@ -34,6 +34,8 @@
     m = fpgetmask();
     fpsetmask(m & ~FP_X_OFL);
 #endif
+    struct timeval tv;
+    _PyTime_gettimeofday(&tv);
     if (!argv_copy || !argv_copy2) {
         fprintf(stderr, "out of memory\n");
         return 1;

----------
Added file: http://bugs.python.org/file18033/issue9079-builds.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9079>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to