[Pyrex] staticforward

Bryan Weingarten bryan.weingarten at pobox.com
Wed Aug 20 16:05:51 CEST 2003


what is the pyrex preferred way to resolve the msvc

from :
#define staticforward static

to:
#define staticforward extern

issue?

currently i'm requiring all python 2.3 users who compile with msvc to change
that line in python\include\object.h

is the a way to add an #ifdef in the pyrex source code?  for example:


#ifdef _MSC_VER
#undef staticforward
#define staticforward extern
#else




 would that be better?

bryan





More information about the Pyrex mailing list