Commit d6b6ba74 authored by Michael Schumacher's avatar Michael Schumacher

modules/controller_midi.c: #ifdef G_OS_WIN32 for a O_NONBLOCK

parent 63c0ed2c
2004-06-19 Michael Schumacher <schumaml@cvs.gnome.org>
* modules/controller_midi.c: #ifdef G_OS_WIN32 for an O_NONBLOCK
2004-06-19 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/jpeg.c: more changes to save dialog. Moved
......
......@@ -343,7 +343,12 @@ midi_set_device (ControllerMidi *midi,
{
gint fd;
#ifdef G_OS_WIN32
fd = open (midi->device, O_RDONLY);
#else
fd = open (midi->device, O_RDONLY | O_NONBLOCK);
#endif
if (fd >= 0)
{
g_object_set (midi, "name", device, NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment