fixed file identity detection in 32-bit mode

also :
some library decided to use `index` as a global variable declared in standard header
shadowing the ones used in fastcover.c  :(
This commit is contained in:
Yann Collet
2018-12-20 14:30:30 -08:00
parent 65a441a8f0
commit ffba142406
2 changed files with 5 additions and 6 deletions
+1 -2
View File
@@ -16,11 +16,10 @@ extern "C" {
/*-****************************************
* Dependencies
******************************************/
#include <string.h> /* strncmp */
#include "util.h" /* note : ensure that platform.h is included first ! */
#include <errno.h>
#include <assert.h>
#include "util.h"
int UTIL_fileExist(const char* filename)
{