On 09/26/2011 10:37 AM, Bastien ROUCARIES wrote:
python seehttp://svn.python.org/projects/python/trunk/Modules/posixmodule.c
seems to have solved a lot the maintenabilty stuff by determining the
actual size of the structure is determined at runtime.

Still hackish, though slightly better. What version of the CRT does MinGW use? Can we assume VS 2005 or newer?

Another option will be to include %SDK%\src\crt\internal.h and use
wrapper function. internal.h is needed for compiling openssl.

I wouldn't be surprised if some SDK installation do not have it at all (e.g. if you install the C compiler from the DDK---which can also compile usermode applications) so I would rather not go that way. Also, this would definitely not be usable from mingw.

Paolo

Reply via email to