mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 21:16:22 +00:00
use posix stat syscall for windows
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user