summaryrefslogtreecommitdiffstats
path: root/src/file_tib.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2015-09-25 20:32:08 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2015-09-25 20:32:08 +0200
commit5d18a4828bc74677ec17db07a4d8de2cc75be032 (patch)
treec4b10474ddd5eca6447f8fe4a541f7b0c35f961e /src/file_tib.c
parent21827baef53aaa4a8c97f35850722b93c42f5914 (diff)
Fallback to fseek() if fseeko() failed
Diffstat (limited to 'src/file_tib.c')
-rw-r--r--src/file_tib.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/file_tib.c b/src/file_tib.c
index d8508fb..0fc9ab5 100644
--- a/src/file_tib.c
+++ b/src/file_tib.c
@@ -34,12 +34,6 @@
#include "filegen.h"
#include "common.h"
-#if defined(HAVE_FSEEKO) && !defined(__MINGW32__)
-#define my_fseek fseeko
-#else
-#define my_fseek fseek
-#endif
-
static void register_header_check_tib(file_stat_t *file_stat);
static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new);