Define bool type and remove mixed declarations for old versions of Visual Studio.
This supports compiling trurl with old versions of Visual Studio by using cl at the command line only. The winbuild solution still requires recent versions of Visual Studio.
Closes #xxxx
These are some changes to build trurl with an old Visual Studio compiler which uses C89. I tested it with Visual Studio 2010.
libcurl was built using configuration LIB Debug - DLL Windows SSPI - DLL WinIDN in the pregenerated solution ..\curl\projects\Windows\VC10\curl-all.sln, and then trurl was built against it:
This supports compiling trurl with old versions of Visual Studio by using cl at the command line only. The winbuild solution still requires recent versions of Visual Studio.
Closes #xxxx
These are some changes to build trurl with an old Visual Studio compiler which uses C89. I tested it with Visual Studio 2010.
libcurl was built using configuration
LIB Debug - DLL Windows SSPI - DLL WinIDN
in the pregenerated solution..\curl\projects\Windows\VC10\curl-all.sln
, and then trurl was built against it:cl /MDd /W4 /wd4127 /D_CRT_SECURE_NO_WARNINGS /D_UNICODE /DUNICODE /DCURL_STATICLIB /I..\curl\include trurl.c /link /LIBPATH:"..\curl\build\Win32\VC10\LIB Debug - DLL Windows SSPI - DLL WinIDN" libcurld.lib crypt32.lib normaliz.lib wldap32.lib ws2_32.lib
To support other c89 compilers would probably require a stdint replacement.