[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r11756: don't use ioctl() on windows
From: |
Rob Savoye |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r11756: don't use ioctl() on windows. |
Date: |
Thu, 14 Jan 2010 19:08:00 -0700 |
User-agent: |
Bazaar (2.0.2) |
------------------------------------------------------------
revno: 11756
committer: Rob Savoye <address@hidden>
branch nick: trunk
timestamp: Thu 2010-01-14 19:08:00 -0700
message:
don't use ioctl() on windows.
modified:
libnet/network.cpp
=== modified file 'libnet/network.cpp'
--- a/libnet/network.cpp 2010-01-11 06:41:38 +0000
+++ b/libnet/network.cpp 2010-01-15 02:08:00 +0000
@@ -1597,11 +1597,13 @@
{
// GNASH_REPORT_FUNCTION;
- int bytes;
-
+ int bytes = 0;
+#ifndef _WIN32
ioctl(fd, FIONREAD, &bytes);
-
log_network("#%d bytes waiting in kernel network buffer.", bytes);
+#else
+ log_unimpl("Network::sniffBytesReady(win32 equivalant)");
+#endif
return bytes;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r11756: don't use ioctl() on windows.,
Rob Savoye <=