From d4b1783215d28a8974fa5bf15554422b92922c6e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 6 Jun 2009 23:18:52 +0000 Subject: [PATCH] use _fileno() instead of fileno() with VC git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/streams/largefile.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/streams/largefile.cpp b/tests/streams/largefile.cpp index af65d4e17e..494977d4db 100644 --- a/tests/streams/largefile.cpp +++ b/tests/streams/largefile.cpp @@ -40,6 +40,10 @@ #include #endif +#ifdef __VISUALC__ + #define fileno _fileno +#endif + using std::auto_ptr; -- 2.47.2