Skip to content

Commit

Permalink
Merge pull request #241 from Gachapen/fix_fileno
Browse files Browse the repository at this point in the history
Fix fileno causing compile error when #defined
vitaut committed Dec 4, 2015

Verified

This commit was signed with the committer’s verified signature.
BryanttV Bryann Valderrama
2 parents 00d56e0 + c2ffa14 commit 3bc97a5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion posix.cc
Original file line number Diff line number Diff line change
@@ -55,11 +55,14 @@

# ifdef __MINGW32__
# define _SH_DENYNO 0x40
# undef fileno
# endif

#endif // _WIN32

#ifdef fileno
# undef fileno
#endif

namespace {
#ifdef _WIN32
// Return type of read and write functions.

0 comments on commit 3bc97a5

Please sign in to comment.