comparison lwlib/lwlib.h @ 333:4f79e16b1112 r21-0-64

Import from CVS: tag r21-0-64
author cvs
date Mon, 13 Aug 2007 10:49:50 +0200
parents c5d627a313b1
children a4f53d9b3154
comparison
equal deleted inserted replaced
332:bb75ebac9531 333:4f79e16b1112
1 #ifndef LWLIB_H 1 #ifndef LWLIB_H
2 #define LWLIB_H 2 #define LWLIB_H
3 3
4 #undef CONST
5
4 #include <X11/Intrinsic.h> 6 #include <X11/Intrinsic.h>
7
8 /* To eliminate use of `const' in the lwlib sources, define CONST_IS_LOSING. */
9 #ifdef CONST_IS_LOSING
10 # define CONST
11 #else
12 # define CONST const
13 #endif
5 14
6 #if defined (LWLIB_MENUBARS_LUCID) || defined (LWLIB_MENUBARS_MOTIF) || defined (LWLIB_MENUBARS_ATHENA) 15 #if defined (LWLIB_MENUBARS_LUCID) || defined (LWLIB_MENUBARS_MOTIF) || defined (LWLIB_MENUBARS_ATHENA)
7 #define NEED_MENUBARS 16 #define NEED_MENUBARS
8 #endif 17 #endif
9 #if defined (LWLIB_SCROLLBARS_LUCID) || defined (LWLIB_SCROLLBARS_MOTIF) || defined (LWLIB_SCROLLBARS_ATHENA) 18 #if defined (LWLIB_SCROLLBARS_LUCID) || defined (LWLIB_SCROLLBARS_MOTIF) || defined (LWLIB_SCROLLBARS_ATHENA)