mirror of
https://github.com/azahar-emu/soundtouch
synced 2025-11-07 15:40:04 +01:00
Changed fileno() to _fileno() to eliminate compiler warning
This commit is contained in:
parent
16f0a95a30
commit
ab0d353f6f
@ -55,7 +55,7 @@ using namespace std;
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
// Macro for Win32 standard input/output stream support: Sets a file stream into binary mode
|
// 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
|
#else
|
||||||
// Not needed for GNU environment...
|
// Not needed for GNU environment...
|
||||||
#define SET_STREAM_TO_BIN_MODE(f) {}
|
#define SET_STREAM_TO_BIN_MODE(f) {}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user