header fix for linux
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
#include "tlibc/filesystem.h"
|
||||
#include "internal.h"
|
||||
|
||||
bool file_exists(cstr path){
|
||||
@@ -46,6 +45,8 @@ Result(FILE*) file_openOrCreateReadWrite(cstr file_name){
|
||||
return RESULT_VALUE(p, f);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Result(i64) file_getSize(FILE* f){
|
||||
i64 r = IFWIN(_ftelli64, ftello64)(f);
|
||||
if(r < 0){
|
||||
|
||||
Reference in New Issue
Block a user