mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2025-10-06 12:10:03 +00:00
Support for OpenWatcom (Win32): It do have getpid(), but no
<sys/time.h>.
This commit is contained in:
@ -30,7 +30,9 @@ struct iovec
|
||||
size_t iov_len; /* Length of data. */
|
||||
};
|
||||
|
||||
#ifndef __WATCOMC__
|
||||
#define getpid() _getpid()
|
||||
#endif
|
||||
|
||||
int ares_writev (SOCKET s, const struct iovec *vector, size_t count);
|
||||
#define writev(s,vect,count) ares_writev(s,vect,count)
|
||||
|
Reference in New Issue
Block a user