Message156598
The easiest fix would be to rename the "small" field in accu.h (and of course in any file that references that field.) I have no idea who uses this file.
Perhaps the 2nd easiest fix would be to put this after the #include of Windows.h
#ifdef small
#undef small
#endif
As long as any extension also including Windows.h included Windows.h BEFORE Python.h, this should fix the problem for an extension builder.
A further thought is to put
#define WIN32_LEAN_AND_MEAN
right before the #include Windows.h
This doesn't fix the extension problem in that every #include of Windows.h would need to do this (SQLITE doesn't right now) but if all Python needs from Windows.h is in the "WIN32_LEAN_AND_MEAN" subset, it seems like a good thing in general, no? |
|
Date |
User |
Action |
Args |
2012-03-22 17:50:30 | jeffr@livedata.com | set | recipients:
+ jeffr@livedata.com, georg.brandl, amaury.forgeotdarc, pitrou, benjamin.peterson, skrah, python-dev |
2012-03-22 17:50:30 | jeffr@livedata.com | set | messageid: <1332438630.58.0.594774990883.issue14387@psf.upfronthosting.co.za> |
2012-03-22 17:50:30 | jeffr@livedata.com | link | issue14387 messages |
2012-03-22 17:50:29 | jeffr@livedata.com | create | |
|