examples: Fixed compilation errors

error: 'MULTI_PERFORM_HANG_TIMEOUT' undeclared
This commit is contained in:
Steve Holme 2014-01-12 18:42:32 +00:00
parent 0fea86afe3
commit a33e7edcec
2 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,8 @@
* Note that this example requires libcurl 7.30.0 or above. * Note that this example requires libcurl 7.30.0 or above.
*/ */
#define MULTI_PERFORM_HANG_TIMEOUT 60 * 1000
static struct timeval tvnow(void) static struct timeval tvnow(void)
{ {
struct timeval now; struct timeval now;

View File

@ -29,6 +29,8 @@
* Note that this example requires libcurl 7.20.0 or above. * Note that this example requires libcurl 7.20.0 or above.
*/ */
#define MULTI_PERFORM_HANG_TIMEOUT 60 * 1000
static struct timeval tvnow(void) static struct timeval tvnow(void)
{ {
struct timeval now; struct timeval now;