Debian Codegraph @

utils/pmx/pmx-src/libf2c/patch-03-DOS-line-endings

raw
1 Handle DOS line endings (using additional file ../w32getc.c).
2
3 Mail from Akira, 31 Mar 2012 21:36:26.
4
5 diff -ur pmx-2.6.18.orig/libf2c/fio.h pmx-2.6.18/libf2c/fio.h
6 --- pmx-2.6.18.orig/libf2c/fio.h 2012-04-09 18:24:12.000000000 +0200
7 +++ pmx-2.6.18/libf2c/fio.h 2012-05-19 18:47:56.503874316 +0200
8 @@ -2,6 +2,10 @@
9 #include "sysdep1.h"
10 #endif
11 #include "stdio.h"
12 +#ifdef WIN32
13 +extern int w32getc(FILE *f);
14 +#define getc w32getc
15 +#endif
16 #include "errno.h"
17 #ifndef NULL
18 /* ANSI C */