Skip to content

Commit

Permalink
Fix a compilation error with MSVC 2005 due to use of mode_t
Browse files Browse the repository at this point in the history
MSVC apparently doesn't have a mode_t defined, though mingw does.

Found by Savg He.
  • Loading branch information
nmathewson committed Mar 30, 2012
1 parent 98e9119 commit 336dcae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions evutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
#define close _close
#define fstat _fstati64
#define stat _stati64
#define mode_t int
#endif

int
Expand Down

0 comments on commit 336dcae

Please sign in to comment.