7 |
|
* External symbols declared in rpaint.h |
8 |
|
*/ |
9 |
|
|
10 |
+ |
#include <ctype.h> |
11 |
+ |
|
12 |
|
#include "copyright.h" |
13 |
|
|
14 |
+ |
#include "platform.h" |
15 |
|
#include "ray.h" |
13 |
– |
|
16 |
|
#include "otypes.h" |
15 |
– |
|
17 |
|
#include "rpaint.h" |
18 |
|
|
18 |
– |
#include <ctype.h> |
19 |
– |
|
19 |
|
extern int psample; /* pixel sample size */ |
20 |
|
extern double maxdiff; /* max. sample difference */ |
21 |
|
|
753 |
|
error(COMMAND, errmsg); |
754 |
|
return; |
755 |
|
} |
756 |
< |
#ifdef MSDOS |
758 |
< |
setmode(fileno(fp), O_BINARY); |
759 |
< |
#endif |
756 |
> |
SET_FILE_BINARY(fp); |
757 |
|
(*dev->comout)("writing \""); |
758 |
|
(*dev->comout)(fname); |
759 |
|
(*dev->comout)("\"...\n"); |