summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/sdlsocket.c
diff options
context:
space:
mode:
author Justin Kerk <dopefishjustin@gmail.com>2013-11-03 01:42:33 +0000
committer Justin Kerk <dopefishjustin@gmail.com>2013-11-03 01:42:33 +0000
commitcdc51864b0d6fc54120f71f9049985d7059a6d83 (patch)
treeba076f9d05a449e70d67fcded30b46ffab740388 /src/osd/sdl/sdlsocket.c
parentb6e5d7924573e2d08e4e5c62182b624785644387 (diff)
Upstream changes needed to compile JSMESS [Justin Kerk, John Vilk, Justin de Vesine]
Out of whatsnew: there are still a few files being worked on, and the build scripts which are currently set up outside of the MAME source hierarchy. Always open to cleaner ways of doing things.
Diffstat (limited to 'src/osd/sdl/sdlsocket.c')
-rw-r--r--src/osd/sdl/sdlsocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/sdl/sdlsocket.c b/src/osd/sdl/sdlsocket.c
index e7e294a92c5..7de5f2e81a3 100644
--- a/src/osd/sdl/sdlsocket.c
+++ b/src/osd/sdl/sdlsocket.c
@@ -109,7 +109,7 @@ file_error sdl_open_socket(const char *path, UINT32 openflags, osd_file **file,
file_error sdl_read_socket(osd_file *file, void *buffer, UINT64 offset, UINT32 count, UINT32 *actual)
{
-#ifndef SDLMAME_WIN32
+#if (!defined(SDLMAME_WIN32)) && (!defined(SDLMAME_EMSCRIPTEN))
ssize_t result;
char line[80];
struct timeval timeout;