Skip to content

Commit

Permalink
vstdlib: remove old shitty osversion
Browse files Browse the repository at this point in the history
  • Loading branch information
nillerusr committed Jun 3, 2023
1 parent 226d22b commit 0235b1e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 428 deletions.
2 changes: 2 additions & 0 deletions filesystem/filesystem_stdio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,7 @@ int CFileSystem_Stdio::FS_stat( const char *pathT, struct _stat *buf, bool *pbLo
int rt = _stat( path, buf );

// Workaround bug wherein stat() randomly fails on Windows XP. See comment on function.
/*
#if defined(_WIN32) && defined(FILESYSTEM_MSVC2015_STAT_BUG_WORKAROUND)
if ( rt == -1 )
{
Expand All @@ -706,6 +707,7 @@ int CFileSystem_Stdio::FS_stat( const char *pathT, struct _stat *buf, bool *pbLo
}
}
#endif // defined(_WIN32) && defined(FILESYSTEM_MSVC2015_STAT_BUG_WORKAROUND)
*/

#if defined(LINUX) || defined(PLATFORM_BSD)
if ( rt == -1 )
Expand Down
Loading

1 comment on commit 0235b1e

@er2off
Copy link
Contributor

@er2off er2off commented on 0235b1e Jun 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

говночист

Please sign in to comment.