UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
xg_def.h
1 #if !defined(__N_XG_DEF_H_)
2 #define __N_XG_DEF_H_
3 
4 #include <comp_mode.h>
5 
6 /*#define MOTIF_IBM*/
7 /*#define RISC_6000*/
8 /*#define SUN1 */
9 /*
10 #define DRAW_IN_PIXMAP
11 */
12 #ifndef MEMCPDEF
13 #define MEMCPDEF
14 #define memcpy_(a,b,c) memcpy((char *)(a),(char *)(b),c)
15 #define memcmp_(a,b,c) memcmp((char *)(a),(char *)(b),c)
16 #define memset_(a,b,c) memset((char *)(a),b,c)
17 #endif
18 #ifndef MIN_MAX_
19 #define MIN_MAX_
20 #define MIN_(x,a) if(x > (a)) x = a
21 #define MAX_(x,a) if(x < (a)) x = a
22 #define Swap(x,y) (x ^= (y ^= (x ^= y)))
23 #define FtoI(a) ((a < 0) ? a-0.5 : a+0.5)
24 #define Zabs(a) ((a < 0) ? -a : a)
25 #define Sign(a) ((a < 0) ? -1 : 1)
26 #define max(a,b) (((a) > (b)) ? (a) : (b))
27 #define min(a,b) (((a) < (b)) ? (a) : (b))
28 #endif
29 /*
30 #define _NO_PROTO_
31 */
32 #define OLD_FUNCTION
33 
34 
35 #define XK_MISCELLANY
36 
37 
38 #endif
39