mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-22 09:30:15 +00:00
Remove unnecessary conditional compile for _MSC_VER
This commit is contained in:
parent
a7353aa7f1
commit
4c19069d8b
@ -2747,13 +2747,8 @@ void FrameRegisterClass () {
|
||||
// TODO: FIXME: Util_TestFileExists()
|
||||
static bool FileExists(std::string strFilename)
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
struct _stat64 stFileInfo;
|
||||
int intStat = _stat64(strFilename.c_str(), &stFileInfo);
|
||||
#else
|
||||
struct stat stFileInfo;
|
||||
int intStat = stat(strFilename.c_str(), &stFileInfo);
|
||||
#endif
|
||||
return (intStat == 0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user