Add compatibility define for fseeko(3).

This is better than cluttering up the code with #ifdefs for obsolete
systems.
This commit is contained in:
Todd C. Miller
2020-02-15 10:22:15 -07:00
parent e7bd19bd1e
commit 92e42ff548
4 changed files with 7 additions and 16 deletions

View File

@@ -60,10 +60,6 @@
#include "sudo_util.h"
#include "pathnames.h"
#ifndef HAVE_FSEEKO
# define fseeko(f, o, w) fseek((f), (o), (w))
#endif
static int audit_debug_instance = SUDO_DEBUG_INSTANCE_INITIALIZER;
static sudo_conv_t audit_conv;
static sudo_printf_t audit_printf;