(rea): Don't use L_SET, it's ancient BSD history, just use SEEK_SET.
This commit is contained in:
parent
37ebd826c4
commit
f6d7ebb480
1 changed files with 0 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue