fixed linux build

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401379
This commit is contained in:
David Anderson 2007-08-26 19:20:36 +00:00
parent 1191b6332d
commit 07b04432a2

View File

@ -568,7 +568,7 @@ static cell_t sm_GetFileTime(IPluginContext *pContext, const cell_t *params)
if (_stat(realpath, &s) != 0)
#elif defined PLATFORM_POSIX
struct stat s;
if (stat(path, &s) != 0)
if (stat(realpath, &s) != 0)
#endif
{
return -1;