X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=includes%2Fstdio.h;fp=includes%2Fstdio.h;h=643bcf88beb9f355da1ddbbe5a3328dff9973e49;hp=68f1cb7de20fb0823d584d0dad068b6fbbcf69ac;hb=0d54a75af25ca44411e7c4190cc2a93a390e61a2;hpb=18af9d0a4cd252433e0cbd5daf4640e325c9d0ab 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;