mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
replace struct stat and stat() for windows
This commit is contained in:
parent
a6e66cc571
commit
3c385e0aaa
@ -39,6 +39,12 @@
|
|||||||
// and page size is at least 4KB
|
// and page size is at least 4KB
|
||||||
#define READ_BUF_SIZE 4088
|
#define READ_BUF_SIZE 4088
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
// replace 'struct stat' and 'stat()' for windows
|
||||||
|
#define stat _stat
|
||||||
|
#define S_IFDIR _S_IFDIR
|
||||||
|
#endif /* _WIN32 */
|
||||||
|
|
||||||
struct curl_data_t
|
struct curl_data_t
|
||||||
{
|
{
|
||||||
char *buffer;
|
char *buffer;
|
||||||
|
Loading…
Reference in New Issue
Block a user