From f63764f64fee0b055096656262777c1a99e475ae Mon Sep 17 00:00:00 2001 From: "C. Alexander Leigh" Date: Tue, 15 Jun 2021 21:15:10 +0000 Subject: [PATCH] fle.c Fixed issues with stat64 on modern linux --- mk4/continuity/mecha/fle.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/mk4/continuity/mecha/fle.c b/mk4/continuity/mecha/fle.c index 06089f9..fc64239 100644 --- a/mk4/continuity/mecha/fle.c +++ b/mk4/continuity/mecha/fle.c @@ -206,11 +206,7 @@ int fleFsync_mem_to_file(char *filename, const char *memory, size_t len) } int fleFexist(const char *filename) { -#ifndef _LP64 struct stat sb; -#else - struct stat64 sb; -#endif assert(filename!=NULL); @@ -224,11 +220,7 @@ int fleFexist(const char *filename) { /* How can this return -1 if it's not a ssize_t? -aleigh */ size_t fleFget_size(const char *filename) { -#ifndef _LP64 struct stat sb; -#else - struct stat64 sb; -#endif assert(filename != NULL); -- GitLab