- BUGFIX #2133 (@fourplusone) in smart_protocol.c
- added MSVC cmake definitions to disable warnings
- general.c is rewritten so it is ansi-c compatible and compiles ok on microsoft windows
- some MSVC reported warning fixes
- need_pack was not set to 0 when local fetch was already present causing  negotiate_fetch access violation
Merge remote-tracking branch 'remotes/upstream/development' into development
- general.c reverted to original( before pr state )
- CMakeLists.txt small fix
cmake examples change so that general.c is off by default
- examples CMakeLists.txt reverted to previous state
Merge pull request #2141 from ravselj/development

BUGFIX - Fetching twice from the same remote causes a segfault
Added a test, that fails for #2133
Merge pull request #2148 from fourplusone/patch-1

Added a test, that fails for #2133