diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /dviware/dvipaste/config.sun-gcc.h |
Initial commit
Diffstat (limited to 'dviware/dvipaste/config.sun-gcc.h')
-rw-r--r-- | dviware/dvipaste/config.sun-gcc.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dviware/dvipaste/config.sun-gcc.h b/dviware/dvipaste/config.sun-gcc.h new file mode 100644 index 0000000000..5d9442863b --- /dev/null +++ b/dviware/dvipaste/config.sun-gcc.h @@ -0,0 +1,14 @@ +#define int short +#undef ANSI /* To use old-style K&R functions */ +#undef MICROSOFTC +#undef LITTLENDIAN + +#ifdef ANSI +/* Other things in ANSI C are good, but this is a crock */ +#define READ_BINARY "rb" +#define WRITE_BINARY "wb" +#else +/* The good old simple and logical K&R I/O */ +#define READ_BINARY "r" +#define WRITE_BINARY "w" +#endif |