projects
/
chise
/
xemacs-chise.git.1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
XEmacs 21.2.11
[chise/xemacs-chise.git.1]
/
lwlib
/
lwlib.h
diff --git
a/lwlib/lwlib.h
b/lwlib/lwlib.h
index
92c5cda
..
b770831
100644
(file)
--- a/
lwlib/lwlib.h
+++ b/
lwlib/lwlib.h
@@
-1,8
+1,17
@@
#ifndef LWLIB_H
#define LWLIB_H
#ifndef LWLIB_H
#define LWLIB_H
+#undef CONST
+
#include <X11/Intrinsic.h>
#include <X11/Intrinsic.h>
+/* 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
#if defined (LWLIB_MENUBARS_LUCID) || defined (LWLIB_MENUBARS_MOTIF) || defined (LWLIB_MENUBARS_ATHENA)
#define NEED_MENUBARS
#endif