From ab0d353f6f3e0771e7a866f67146563dbaf8e8ed Mon Sep 17 00:00:00 2001 From: oparviai Date: Sun, 12 Dec 2010 18:15:06 +0000 Subject: [PATCH] Changed fileno() to _fileno() to eliminate compiler warning --- source/SoundStretch/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/SoundStretch/main.cpp b/source/SoundStretch/main.cpp index b7136c9..3c036bf 100644 --- a/source/SoundStretch/main.cpp +++ b/source/SoundStretch/main.cpp @@ -55,7 +55,7 @@ using namespace std; #include // Macro for Win32 standard input/output stream support: Sets a file stream into binary mode - #define SET_STREAM_TO_BIN_MODE(f) (_setmode(fileno(f), _O_BINARY)) + #define SET_STREAM_TO_BIN_MODE(f) (_setmode(_fileno(f), _O_BINARY)) #else // Not needed for GNU environment... #define SET_STREAM_TO_BIN_MODE(f) {}