Author laca
Recipients belopolsky, bretthoerner, chrismiles, danchr, jcea, laca, movement, rhettinger, robert.kern, ronaldoussoren, sirg3, skip.montanaro, twleung
Date 2009-04-22.07:34:46
SpamBayes Score 0.0189845
Marked as misclassified No
Message-id <1240385688.44.0.914113644538.issue4111@psf.upfronthosting.co.za>
In-reply-to
Content
Look at these lines at the beginning of phelper.d:

#if defined(__i386)
#define        startframe PyEval_EvalFrameEx
#define        endframe PyEval_EvalCodeEx
#elif defined(__amd64)
#define        PyEval_EvalFrameEx PyEval_EvalFrameExReal
#define        startframe PyEval_EvalFrameExReal
#define        endframe PyEval_EvalCodeEx
#elif defined(__sparc)
#define        PyEval_EvalFrameEx PyEval_EvalFrameExReal
#define        startframe PyEval_EvalFrameEx
#define        endframe PyEval_EvalFrameExReal
#endif

You may need to adjust these if your compiler defines
something different from the __i386 or __amd64.
I guess an

#else
#error your architecture was not recognized
#endif

would be useful here.
History
Date User Action Args
2009-04-22 07:34:48lacasetrecipients: + laca, skip.montanaro, rhettinger, jcea, ronaldoussoren, belopolsky, movement, bretthoerner, twleung, robert.kern, sirg3, chrismiles, danchr
2009-04-22 07:34:48lacasetmessageid: <1240385688.44.0.914113644538.issue4111@psf.upfronthosting.co.za>
2009-04-22 07:34:47lacalinkissue4111 messages
2009-04-22 07:34:46lacacreate