diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-11-01 18:05:27 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-11-01 18:05:27 -0400 |
commit | 6810908a5fd7d38a5aaec7cceae5a12b372c53c3 (patch) | |
tree | 63a86615bab78f16e0bcdfaa05a38fd48b51d7d4 /evutil.c | |
parent | b738ee189f70063ed66f3375e8a5ade3f721d6a6 (diff) | |
download | libevent-6810908a5fd7d38a5aaec7cceae5a12b372c53c3.tar.gz |
Fix some warnings found cross-compiling with mingw32
Diffstat (limited to 'evutil.c')
-rw-r--r-- | evutil.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -89,8 +89,12 @@ #define open _open #define read _read #define close _close +#ifndef fstat #define fstat _fstati64 +#endif +#ifndef stat #define stat _stati64 +#endif #define mode_t int #endif |