X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=tools%2Fardour_fluidsynth.diff;h=52db8337762f54ff031534644ae427723635eaf0;hb=6fb099a88b40a9337c5f1b5fea0ebb00e85f598f;hp=4aa408338ba6ae8f5370a3fad8892ac39d064485;hpb=bd4424a74e6118e72fb855937ebbbaaf5ac134e7;p=ardour.git diff --git a/tools/ardour_fluidsynth.diff b/tools/ardour_fluidsynth.diff index 4aa408338b..52db833776 100644 --- a/tools/ardour_fluidsynth.diff +++ b/tools/ardour_fluidsynth.diff @@ -269,7 +269,7 @@ index cc440aa..8977ed6 100644 tuning->pitch[key] = pitch; } diff --git b/libs/fluidsynth/src/fluidsynth_priv.h a/libs/fluidsynth/src/fluidsynth_priv.h -index faf2772..74b9f4b 100644 +index faf2772..b01618d 100644 --- b/libs/fluidsynth/src/fluidsynth_priv.h +++ a/libs/fluidsynth/src/fluidsynth_priv.h @@ -28,14 +28,6 @@ @@ -287,3 +287,25 @@ index faf2772..74b9f4b 100644 #if HAVE_STRING_H #include #endif +@@ -113,8 +105,6 @@ + #endif + + #if HAVE_WINDOWS_H +-#include +-#include + #include + #endif + +@@ -131,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) */