1
|
1 |
diff -ur mplayerplug-in-orig/Source/plugin-threads.cpp mplayerplug-in/Source/plugin-threads.cpp
|
|
2 |
--- mplayerplug-in-orig/Source/plugin-threads.cpp 2006-04-05 05:15:46.000000000 +0700
|
|
3 |
+++ mplayerplug-in/Source/plugin-threads.cpp 2006-05-09 18:45:13.948964174 +0700
|
|
4 |
@@ -227,7 +227,7 @@
|
|
5 |
// make the operations on the control pipe non-blocking
|
|
6 |
flags = fcntl(*control, F_GETFL, 0);
|
|
7 |
flags |= O_NONBLOCK;
|
|
8 |
-#ifndef BSD
|
|
9 |
+#if defined(BSD) || !defined(_POSIX_C_SOURCE)
|
|
10 |
flags |= O_NDELAY;
|
|
11 |
#endif
|
|
12 |
fcntl(*control, F_SETFL, flags);
|