From f6d7ebb48095e93fe1cd1a4231df2a2383e54be7 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 29 Feb 2004 11:35:38 +0000 Subject: [PATCH] (rea): Don't use L_SET, it's ancient BSD history, just use SEEK_SET. --- src/lib/commands/rea.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/lib/commands/rea.c b/src/lib/commands/rea.c index 2d131103..cfcaddb3 100644 --- a/src/lib/commands/rea.c +++ b/src/lib/commands/rea.c @@ -33,11 +33,6 @@ * Steve McClure, 1998-2000 */ - -#ifdef aix -#define L_SET 0 -#endif /* aix */ - #include "misc.h" #include "player.h" #include "nat.h" @@ -201,11 +196,7 @@ rea(void) pr("Wait a sec! A new %s has arrived...\n", kind); /* force stdio to re-read tel file */ (void)fflush(telfp); -#if !defined(_WIN32) - (void)fseek(telfp, (long)size, L_SET); -#else (void)fseek(telfp, (long)size, SEEK_SET); -#endif size = filelen; (void)time(&now); goto more;