fixed linux build
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401379
This commit is contained in:
		
							parent
							
								
									1191b6332d
								
							
						
					
					
						commit
						07b04432a2
					
				@ -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;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user