From aa7bb101ed0c4dbf3b737acec9f8fa1bc0c6f1c4 Mon Sep 17 00:00:00 2001 From: vitaut Date: Thu, 3 Dec 2015 20:17:04 -0800 Subject: [PATCH] Undefine fileno if defined in posix-test --- test/posix-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/posix-test.cc b/test/posix-test.cc index 7dd0dbb0..007e2507 100644 --- a/test/posix-test.cc +++ b/test/posix-test.cc @@ -31,7 +31,7 @@ #include "posix.h" #include "util.h" -#ifdef __MINGW32__ +#ifdef fileno # undef fileno #endif