-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefs.h
39 lines (31 loc) · 920 Bytes
/
defs.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
* $Id: defs.h,v 1.2 1992/10/02 01:02:32 craigs Exp $
*
* This code was written by Craig Southeren whilst under contract
* to Computer Sciences of Australia, Systems Engineering Division.
* It has been kindly released by CSA into the public domain.
*
* Neither CSA or me guarantee that this source code is fit for anything,
* so use it at your peril. I don't even work for CSA any more, so
* don't bother them about it. If you have any suggestions or comments
* (or money, cheques, free trips =8^) !!!!! ) please contact me
* care of [email protected]
*
*/
/* common definitions */
#ifndef True
#define True 1
#define False 0
#endif
#ifndef MIN
#define MIN(a,b) ((a)<=(b)?(a):(b))
#endif
#ifndef MAX
#define MAX(a,b) ((a)>=(b)?(a):(b))
#endif
/* default printer */
#ifdef MSDOS
#define DEF_PRINTER "prn"
#else
#define DEF_PRINTER "PostScript" /* default printer */
#endif