mirror of
https://github.com/curl/curl.git
synced 2026-05-30 11:17:30 +03:00
examples: Fixed compilation errors
error: 'MULTI_PERFORM_HANG_TIMEOUT' undeclared
This commit is contained in:
parent
0fea86afe3
commit
a33e7edcec
2 changed files with 4 additions and 0 deletions
|
|
@ -29,6 +29,8 @@
|
|||
* Note that this example requires libcurl 7.30.0 or above.
|
||||
*/
|
||||
|
||||
#define MULTI_PERFORM_HANG_TIMEOUT 60 * 1000
|
||||
|
||||
static struct timeval tvnow(void)
|
||||
{
|
||||
struct timeval now;
|
||||
|
|
|
|||
|
|
@ -29,6 +29,8 @@
|
|||
* Note that this example requires libcurl 7.20.0 or above.
|
||||
*/
|
||||
|
||||
#define MULTI_PERFORM_HANG_TIMEOUT 60 * 1000
|
||||
|
||||
static struct timeval tvnow(void)
|
||||
{
|
||||
struct timeval now;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue