summaryrefslogtreecommitdiff
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)
154 sprintf(buffer, "%s%s", SIMULATOR_ARCHOS_ROOT, name); 154 sprintf(buffer, "%s%s", SIMULATOR_ARCHOS_ROOT, name);
155 155
156 debugf("We open the real file '%s'\n", buffer); 156 debugf("We open the real file '%s'\n", buffer);
157#ifdef WIN32
158 return open(buffer, opts);
159#else
160 return open(buffer, opts, 0666); 157 return open(buffer, opts, 0666);
161#endif
162 } 158 }
163 fprintf(stderr, "WARNING, bad file name lacks slash: %s\n", 159 fprintf(stderr, "WARNING, bad file name lacks slash: %s\n",
164 name); 160 name);