Bad ifdef removed. Open handles simulator filesystem.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2078 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Mats Lidell 2002-08-30 09:23:25 +00:00
parent ec0da2f1f8
commit 648bbfa1ae

View file

@ -339,11 +339,7 @@ bool load_custom_wps(void)
}
l = 0;
#ifdef SIMULATOR
fd = x11_open(WPS_CONFIG, O_RDONLY);
#else
fd = open(WPS_CONFIG, O_RDONLY);
#endif
if(-1 == fd)
{
close(fd);