fix mixup with previous commit
[ardour.git] / libs / fluidsynth / src / fluidsynth_priv.h
index d29ba8a52fc93b434e6f8a027c880dcfeb30d639..b01618df26e7bd6c59f6ce1701efb0c8dceb7478 100644 (file)
 #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) */