| # | Line 7 | Line 7 | static const char RCSid[] = "$Id$"; | |
|---|---|---|
| 7 | * G. Ward February 2015 | |
| 8 | */ | |
| 9 | ||
| 10 | + | #include "platform.h" |
| 11 | #include <ctype.h> | |
| 12 | #include "rtio.h" | |
| 13 | #include "paths.h" | |
| # | Line 165 | Line 166 | input2str(const char *inpspec) | |
| 166 | fprintf(stderr, "%s: cannot open\n", inpspec); | |
| 167 | return ""; | |
| 168 | } | |
| 169 | < | #ifndef _WIN32 /* XXX somehow broken on Windows */ |
| 169 | > | #if !defined(_WIN32) && !defined(_WIN64) |
| 170 | > | /* XXX somehow broken on Windows */ |
| 171 | len = lseek(fd, 0L, SEEK_END); | |
| 172 | if (len > 0) { | |
| 173 | lseek(fd, 0L, SEEK_SET); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |