mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 16:18:48 -05:00
Dominick Meglio's fix to make our private gettimeofday() use the ares_
namespace
This commit is contained in:
parent
a0edfb90c2
commit
9ebe4ab60c
@ -18,7 +18,8 @@ struct iovec
|
|||||||
#define getpid() _getpid()
|
#define getpid() _getpid()
|
||||||
|
|
||||||
int strcasecmp(const char *a, const char *b);
|
int strcasecmp(const char *a, const char *b);
|
||||||
int gettimeofday(struct timeval *tv, struct timezone *tz);
|
int ares_gettimeofday(struct timeval *tv, struct timezone *tz);
|
||||||
|
#define gettimeofday(tv,tz) ares_gettimeofday(tv,tz)
|
||||||
|
|
||||||
#define NS_CMPRSFLGS 0xc0
|
#define NS_CMPRSFLGS 0xc0
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ strcasecmp(const char *a, const char *b)
|
|||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
gettimeofday(struct timeval *tv, struct timezone *tz)
|
ares_gettimeofday(struct timeval *tv, struct timezone *tz)
|
||||||
{
|
{
|
||||||
FILETIME ft;
|
FILETIME ft;
|
||||||
LARGE_INTEGER li;
|
LARGE_INTEGER li;
|
||||||
|
Loading…
Reference in New Issue
Block a user