os x changes

This commit is contained in:
rsc 2005-01-11 17:43:53 +00:00
parent 530d001641
commit b8f742db85
18 changed files with 92 additions and 44 deletions

View file

@ -465,6 +465,9 @@ enum
#define WIN(q) ((((ulong)(q).path)>>8) & 0xFFFFFF)
#define FILE(q) ((q).path & 0xFF)
#undef FALSE
#undef TRUE
enum
{
FALSE,

View file

@ -105,6 +105,8 @@ double diddle(struct place *, double, double);
void dobounds(double, double, double, double, int);
void dogrid(double, double, double, double);
int duple(struct place *, double);
#define fmax map_fmax
#define fmin map_fmin
double fmax(double, double);
double fmin(double, double);
void getdata(char *);

View file

@ -5,7 +5,6 @@ LIB=libmap/libmap.a
OFILES=map.$O\
symbol.$O\
index.$O\
sqrt.$O\
HFILES=map.h\
iplot.h\

View file

@ -8,6 +8,7 @@
* 2+head+2+page[56]+5
*/
#define err pr_err
#define ISPRINT(c) ((c) >= ' ')
#define ESC '\033'
#define LENGTH 66

View file

@ -10,6 +10,8 @@
#define ONES ~0
#define devname proof_devname
#define getc proof_getc
#define ungetc proof_ungetc
extern char devname[];
extern double mag;

View file

@ -1,3 +1,8 @@
/*
* Somehow <errno.h> has been included on Mac OS X
*/
#undef EIO
extern char ENoDir[];
extern char EBadDir[];
extern char EBadMeta[];