-
- Downloads
curl tool was using functions curlx_tvnow and curlx_tvdiff which are not
part of the official libcurl API http://curl.haxx.se/lxr/source/lib/README.curlx The documented way of using them would be to use timeval.c as a source code file. The above described method works very well when statically linking libcurl and apps, curl tool, but has several drawbacks when you build a true shared libcurl (i.e. Name space clash at linkage stage as functions are defined more than once. Windows makefiles are not capable of handling this system of source-level sharing) So... Now curlutil.h and curlutil.c define and implement cutil_tvnow and cutil_tvdiff which replace curlx_tvnow and curlx_tvdiff for the curl tool. Doing this we avoid the above described problems.
Showing
- src/Makefile.Watcom 4 additions, 4 deletionssrc/Makefile.Watcom
- src/Makefile.inc 3 additions, 3 deletionssrc/Makefile.inc
- src/Makefile.m32 1 addition, 4 deletionssrc/Makefile.m32
- src/Makefile.vc6 7 additions, 7 deletionssrc/Makefile.vc6
- src/curlutil.c 119 additions, 0 deletionssrc/curlutil.c
- src/curlutil.h 50 additions, 0 deletionssrc/curlutil.h
- src/main.c 6 additions, 18 deletionssrc/main.c
- src/makefile.amiga 1 addition, 1 deletionsrc/makefile.amiga
- src/makefile.dj 3 additions, 1 deletionsrc/makefile.dj
src/curlutil.c
0 → 100644
src/curlutil.h
0 → 100644
Please register or sign in to comment