X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=includes%2Fstdio.h;h=643bcf88beb9f355da1ddbbe5a3328dff9973e49;hp=68f1cb7de20fb0823d584d0dad068b6fbbcf69ac;hb=393020b6e48719d27699dea6b29e53025bbd5123;hpb=f408c1fd633015089d2a0fc6bc31c9f61eeae0a9 diff --git a/includes/stdio.h b/includes/stdio.h index 68f1cb7..643bcf8 100644 --- a/includes/stdio.h +++ b/includes/stdio.h @@ -30,7 +30,7 @@ typedef _PDCLIB_size_t size_t; #define _IONBF 4 /* The following are platform-dependant, and defined in _PDCLIB_config.h. */ -typedef _PDCLIB_fpos_t fpos_t; +typedef struct _PDCLIB_fpos_t fpos_t; typedef struct _PDCLIB_file_t FILE; #define EOF -1 #define BUFSIZ _PDCLIB_BUFSIZ @@ -40,9 +40,9 @@ typedef struct _PDCLIB_file_t FILE; #define TMP_MAX _PDCLIB_TMP_MAX /* See fseek(), third argument */ -#define SEEK_CUR 1 -#define SEEK_END 2 -#define SEEK_SET 4 +#define SEEK_CUR _PDCLIB_SEEK_CUR +#define SEEK_END _PDCLIB_SEEK_END +#define SEEK_SET _PDCLIB_SEEK_SET extern struct _PDCLIB_file_t * stdin; extern struct _PDCLIB_file_t * stdout;