From: Helmut Eller Date: Mon, 12 Dec 2016 15:39:17 +0000 (+0100) Subject: Instead of hardcoding PF_SEEK_* constants use SEEK_* values from stdio.h. X-Git-Url: http://git.subgeniuskitty.com/pforth/.git/commitdiff_plain/1d7147ff6ecef92cf10791c7286f278689dec7a0 Instead of hardcoding PF_SEEK_* constants use SEEK_* values from stdio.h. --- diff --git a/csrc/pf_io.h b/csrc/pf_io.h index e03b034..c105e7a 100644 --- a/csrc/pf_io.h +++ b/csrc/pf_io.h @@ -132,9 +132,9 @@ void ioTerm( void ); #define PF_STDIN ((FileStream *) stdin) #define PF_STDOUT ((FileStream *) stdout) - #define PF_SEEK_SET (0) - #define PF_SEEK_CUR (1) - #define PF_SEEK_END (2) + #define PF_SEEK_SET (SEEK_SET) + #define PF_SEEK_CUR (SEEK_CUR) + #define PF_SEEK_END (SEEK_END) /* ** printf() is only used for debugging purposes.