From eb2c4196200ee314e2d116ca30311c15c86c519f Mon Sep 17 00:00:00 2001 From: John Emmas Date: Thu, 25 Jul 2013 07:30:30 +0100 Subject: [PATCH] 'libs/midi++2' - Compiler specific changes --- libs/midi++2/ipmidi_port.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/midi++2/ipmidi_port.cc b/libs/midi++2/ipmidi_port.cc index 297ad894f7..59606bffb2 100644 --- a/libs/midi++2/ipmidi_port.cc +++ b/libs/midi++2/ipmidi_port.cc @@ -25,6 +25,10 @@ #include #include #include +#ifdef COMPILER_MSVC +#undef O_NONBLOCK +#define O_NONBLOCK 0 +#endif #if defined(WIN32) #include #else