Commit 78c9a5c3 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Added stat() as well as struct stat to compatibity win32/unistd.h.

darcs-hash:20060411182232-65a35-91028c903bd2024f92e8644504aaa1f097fd9f93.gz
parent 06cfa741
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#define mktemp(template) _mktemp((template)) #define mktemp(template) _mktemp((template))
#define mkstemp(template) _open(_mktemp(template), _O_RDWR|_O_CREAT, 0600) #define mkstemp(template) _open(_mktemp(template), _O_RDWR|_O_CREAT, 0600)
#define unlink(name) _unlink((name)) #define unlink(name) _unlink((name))
#define stat _stat
#define O_RDONLY _O_RDONLY #define O_RDONLY _O_RDONLY
#define O_WRONLY _O_WRONLY #define O_WRONLY _O_WRONLY
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment