X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Ffluidsynth%2Fsrc%2Ffluidsynth_priv.h;h=b01618df26e7bd6c59f6ce1701efb0c8dceb7478;hb=d7fca7c828a2bec548fa4888f4cfe7a9c0ba7f8f;hp=d29ba8a52fc93b434e6f8a027c880dcfeb30d639;hpb=fa36ea6695c233883eb7ab20c48f08d1c4d20b37;p=ardour.git diff --git a/libs/fluidsynth/src/fluidsynth_priv.h b/libs/fluidsynth/src/fluidsynth_priv.h index d29ba8a52f..b01618df26 100644 --- a/libs/fluidsynth/src/fluidsynth_priv.h +++ b/libs/fluidsynth/src/fluidsynth_priv.h @@ -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) */