declare struct timezone outside of the function declaration
This commit is contained in:
parent
e0cffc6b48
commit
9e7fd1fa31
@ -209,6 +209,7 @@ posix_setsockopt(int sockfd, int level, int optname,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
struct timezone;
|
||||||
int gettimeofday(struct timeval * tp, struct timezone * tzp)
|
int gettimeofday(struct timeval * tp, struct timezone * tzp)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user