From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- dviware/dvipaste/config.sun-gcc.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 dviware/dvipaste/config.sun-gcc.h (limited to 'dviware/dvipaste/config.sun-gcc.h') 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 -- cgit v1.2.3