X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lwlib%2Flwlib.h;h=b7708318a26825fed517bfd0dcb6389a1d3311e9;hb=d3dd71489ab2730d79536ebdc3c56cca82766e9d;hp=92c5cda3d9cf97efc196004d7fa17b525e05157f;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910;p=chise%2Fxemacs-chise.git.1 diff --git a/lwlib/lwlib.h b/lwlib/lwlib.h index 92c5cda..b770831 100644 --- a/lwlib/lwlib.h +++ b/lwlib/lwlib.h @@ -1,8 +1,17 @@ #ifndef LWLIB_H #define LWLIB_H +#undef CONST + #include +/* To eliminate use of `const' in the lwlib sources, define CONST_IS_LOSING. */ +#ifdef CONST_IS_LOSING +# define CONST +#else +# define CONST const +#endif + #if defined (LWLIB_MENUBARS_LUCID) || defined (LWLIB_MENUBARS_MOTIF) || defined (LWLIB_MENUBARS_ATHENA) #define NEED_MENUBARS #endif