diff options
| author | 2011-11-13 20:35:34 +0000 | |
|---|---|---|
| committer | 2011-11-13 20:35:34 +0000 | |
| commit | 18b06709c86a698d56c755e478f443a3381af61f (patch) | |
| tree | ff6ac7921b8210e8c72660210d00048624f50aed /src/osd | |
| parent | 16e7be92ba2a4a3b78f4cb07878be6d5aa962be1 (diff) | |
Clean-ups and version bumpmame0144
Diffstat (limited to 'src/osd')
| -rw-r--r-- | src/osd/sdl/netdev_tap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osd/sdl/netdev_tap.c b/src/osd/sdl/netdev_tap.c index 3cc9a53458f..68f76eec7e6 100644 --- a/src/osd/sdl/netdev_tap.c +++ b/src/osd/sdl/netdev_tap.c @@ -10,7 +10,7 @@ #ifdef __linux__ #define IFF_TAP 0x0002 #define IFF_NO_PI 0x1000 -#define TUNSETIFF _IOW('T', 202, int) +#define TUNSETIFF _IOW('T', 202, int) #endif class netdev_tap : public netdev @@ -18,7 +18,7 @@ class netdev_tap : public netdev public: netdev_tap(const char *name, class device_network_interface *ifdev, int rate); ~netdev_tap(); - + int send(UINT8 *buf, int len); void set_mac(const char *mac); protected: @@ -53,7 +53,7 @@ netdev_tap::netdev_tap(const char *name, class device_network_interface *ifdev, } strncpy(m_ifname, ifr.ifr_name, 10); fcntl(m_fd, F_SETFL, O_NONBLOCK); - + #else m_fd = -1; #endif |
