os x changes
This commit is contained in:
parent
530d001641
commit
b8f742db85
18 changed files with 92 additions and 44 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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 *);
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ LIB=libmap/libmap.a
|
|||
OFILES=map.$O\
|
||||
symbol.$O\
|
||||
index.$O\
|
||||
sqrt.$O\
|
||||
|
||||
HFILES=map.h\
|
||||
iplot.h\
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
* 2+head+2+page[56]+5
|
||||
*/
|
||||
|
||||
#define err pr_err
|
||||
#define ISPRINT(c) ((c) >= ' ')
|
||||
#define ESC '\033'
|
||||
#define LENGTH 66
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue