projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix mixup with previous commit
[ardour.git]
/
libs
/
fluidsynth
/
src
/
fluidsynth_priv.h
diff --git
a/libs/fluidsynth/src/fluidsynth_priv.h
b/libs/fluidsynth/src/fluidsynth_priv.h
index d29ba8a52fc93b434e6f8a027c880dcfeb30d639..b01618df26e7bd6c59f6ce1701efb0c8dceb7478 100644
(file)
--- 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
#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) */
#endif
/* Darwin special defines (taken from config_macosx.h) */