1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

use posix stat syscall for windows

This commit is contained in:
Dmitry Podgorny 2013-08-04 19:14:07 +03:00
parent 9e09284302
commit 20dff5fe2f

View File

@ -39,12 +39,6 @@
// and page size is at least 4KB
#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
{
char *buffer;