summaryrefslogtreecommitdiffstats
path: root/uisimulator/common/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/common/io.c')
-rw-r--r--uisimulator/common/io.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c
index 7ea2d6878f..1fdc2ef8c8 100644
--- a/uisimulator/common/io.c
+++ b/uisimulator/common/io.c
@@ -154,11 +154,7 @@ int sim_open(const char *name, int o)
sprintf(buffer, "%s%s", SIMULATOR_ARCHOS_ROOT, name);
debugf("We open the real file '%s'\n", buffer);
-#ifdef WIN32
- return open(buffer, opts);
-#else
return open(buffer, opts, 0666);
-#endif
}
fprintf(stderr, "WARNING, bad file name lacks slash: %s\n",
name);