diff options
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 |