about summary refs log tree commit diff stats
path: root/src/common.c
diff options
context:
space:
mode:
authorDmitry Podgorny <pasis.ua@gmail.com>2013-08-04 19:14:07 +0300
committerDmitry Podgorny <pasis.ua@gmail.com>2013-08-04 19:14:07 +0300
commit20dff5fe2f0251d39a1667b547a49cef3b115899 (patch)
tree3a10eaa38c35a8f1baaf5031c20340618ff24228 /src/common.c
parent9e092843021534058558878d9bca4ce35be1c81c (diff)
downloadprofani-tty-20dff5fe2f0251d39a1667b547a49cef3b115899.tar.gz
use posix stat syscall for windows
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/common.c b/src/common.c
index 42c1415f..da33cc3d 100644
--- a/src/common.c
+++ b/src/common.c
@@ -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;