Configure the new 'fluidsynth' library to be buildable with MSVC
(haven't built any fluidsynth plugins yet)
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
*/
|
||||
|
||||
#include "fluid_sys.h"
|
||||
#include <io.h>
|
||||
|
||||
|
||||
#if WITH_READLINE
|
||||
|
||||
@@ -121,6 +121,12 @@
|
||||
#define STDOUT_FILENO 1
|
||||
#define STDERR_FILENO 2
|
||||
|
||||
#elif defined _MSC_VER
|
||||
|
||||
#define STDIN_FILENO _fileno(stdin)
|
||||
#define STDOUT_FILENO _fileno(stdout)
|
||||
#define STDERR_FILENO _fileno(stderr)
|
||||
|
||||
#endif
|
||||
|
||||
/* Darwin special defines (taken from config_macosx.h) */
|
||||
|
||||
Reference in New Issue
Block a user