8 |
|
* 6/23/93 Added additional buffers for value spreading |
9 |
|
*/ |
10 |
|
|
11 |
– |
#include "standard.h" |
12 |
– |
|
11 |
|
#include <signal.h> |
12 |
|
|
13 |
+ |
#include "standard.h" |
14 |
|
#include "color.h" |
16 |
– |
|
15 |
|
#include "view.h" |
18 |
– |
|
16 |
|
#include "paths.h" |
17 |
|
|
18 |
|
extern float *matchlamp(); |
92 |
|
double outaspect = 0.0; |
93 |
|
double d; |
94 |
|
int i, j; |
95 |
< |
#ifdef MSDOS |
96 |
< |
extern int _fmode; |
97 |
< |
_fmode = O_BINARY; |
101 |
< |
setmode(fileno(stdin), O_BINARY); |
102 |
< |
setmode(fileno(stdout), O_BINARY); |
103 |
< |
#endif |
95 |
> |
SET_DEFAULT_BINARY(); |
96 |
> |
SET_FILE_BINARY(stdin); |
97 |
> |
SET_FILE_BINARY(stdout); |
98 |
|
if (signal(SIGINT, quit) == SIG_IGN) |
99 |
|
signal(SIGINT, SIG_IGN); |
100 |
|
if (signal(SIGHUP, quit) == SIG_IGN) |