diff options
author | Ray Johnston <ray.johnston@artifex.com> | 2001-04-06 03:19:07 +0000 |
---|---|---|
committer | Ray Johnston <ray.johnston@artifex.com> | 2001-04-06 03:19:07 +0000 |
commit | 4eb4be171e80d444cc0a8c0af7e693f906988931 (patch) | |
tree | 108fc5a54b30b1b907128252e18c692a43c1b161 | |
parent | bcf1f0a34fc6ee1de116b7bd68c3b8fd20fc02f2 (diff) | |
download | ghostpdl-4eb4be171e80d444cc0a8c0af7e693f906988931.tar.gz |
Fix: Some compilers complain that: "Argument of type "stream *" is
incompatible with parameter of type "FILE *". Thanks to Nelson Beebe
for finding this (on SGI).
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@1378 a1074d23-0009-0410-80fe-cf8c14f379e6
-rw-r--r-- | gs/src/gs_stdio.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gs/src/gs_stdio.h b/gs/src/gs_stdio.h index 73fbcbda3..bd814fd28 100644 --- a/gs/src/gs_stdio.h +++ b/gs/src/gs_stdio.h @@ -19,13 +19,15 @@ /* $Id$ */ /* Fake stdin.h header file to access the stream code, for use in icclib. */ -#ifndef gs_stdin_INCLUDED -# define gs_stdin_INCLUDED +#ifndef gs_stdio_INCLUDED +# define gs_stdio_INCLUDED #include "stdio_.h" #include "stream.h" -#define FILE stream +/* WRONG: this should be 'stream' but this causes compile problems */ +/* We really need to clean up the icclib stdio area later */ +#define FILE void extern int sread(void *, unsigned int, unsigned int, FILE *), swrite(const void *, unsigned int, unsigned int, FILE *); @@ -39,4 +41,4 @@ extern int sread(void *, unsigned int, unsigned int, FILE *), /* flush is only used for writing, which we do not require */ #define fflush(s) 0 -#endif /* gs_stdin_INCLUDED */ +#endif /* gs_stdio_INCLUDED */ |