No description provided.
Make compatible with VS 2005 32 bits compiler
Why is this necessary and are you confident that it won't break MSVS 2008 or 2010?
This is necessary because I'm using MSVS 2005 yet in production code. My company don't want move yours production code to MSVS 2010/12 yet but I need this parser to extend old code. And I don't want install other compiler only to build this code. I tested in my home computer using both MSVS 2005 and MSVS 2010 and works fine.
I confirm that this seems to be necessary for MSVC 2005, as discovered in udp/lacewing#60.
Actually, the same issue is apparently happening with VC 2008 (but somehow not for me).
The error is:
lacewing\src\webserver\http\../../../deps/http-parser/http_parser.h(41) : error C2371: 'size_t' : redefinition; different basic types
predefined C++ types (compiler internal)(19) : see declaration of 'size_t'
It would be nice if an MSVC guru could give some guidance on this whole inttypes mess.
#141 seems to be the correct fix.
Fix MSVS 2005 and 2008 missing size_t typdef.
Replace manual size_t typedef with stddef.h include
Fixes #128, #141.