comparison src/xmu.h @ 440:8de8e3f6228a r21-2-28

Import from CVS: tag r21-2-28
author cvs
date Mon, 13 Aug 2007 11:33:38 +0200
parents 3ecd8885ac67
children abe6d1db359e
comparison
equal deleted inserted replaced
439:357dd071b03c 440:8de8e3f6228a
1 /* Compatibility routines based on code from the MIT Xmu library */ 1 /* Compatibility routines based on code from the MIT Xmu library */
2 2
3 /* Synched up with: Not in FSF. */ 3 /* Synched up with: Not in FSF. */
4
5 #ifndef INCLUDED_xmu_h_
6 #define INCLUDED_xmu_h_
4 7
5 #ifdef HAVE_XMU 8 #ifdef HAVE_XMU
6 9
7 # include <X11/Xmu/CharSet.h> 10 # include <X11/Xmu/CharSet.h>
8 # include <X11/Xmu/Converters.h> 11 # include <X11/Xmu/Converters.h>
32 #define Min(x, y) (((x) < (y)) ? (x) : (y)) 35 #define Min(x, y) (((x) < (y)) ? (x) : (y))
33 #define AssignMax(x, y) {if ((y) > (x)) x = (y);} 36 #define AssignMax(x, y) {if ((y) > (x)) x = (y);}
34 #define AssignMin(x, y) {if ((y) < (x)) x = (y);} 37 #define AssignMin(x, y) {if ((y) < (x)) x = (y);}
35 typedef enum {XtorientHorizontal, XtorientVertical} XtOrientation; 38 typedef enum {XtorientHorizontal, XtorientVertical} XtOrientation;
36 39
37 #endif 40 #endif /* HAVE_XMU */
38 41
42 #endif /* INCLUDED_xmu_h_ */