aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2004-12-02 23:43:51 +0000
committerRichard M. Stallman2004-12-02 23:43:51 +0000
commit0cec6eaf2067c8cc2ea382ba8377d9a1d3794eb8 (patch)
treecad7b26b45ea2ca543dda6b5475b7022861081c9
parentd8bf42567e956447313be88c742e7330e12192f0 (diff)
downloademacs-0cec6eaf2067c8cc2ea382ba8377d9a1d3794eb8.tar.gz
emacs-0cec6eaf2067c8cc2ea382ba8377d9a1d3794eb8.zip
(RE_TRANSLATE_P): If make_number is not a macro, don't use it here.
-rw-r--r--src/config.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config.in b/src/config.in
index 7721d1c5d6e..4419fa52ac8 100644
--- a/src/config.in
+++ b/src/config.in
@@ -969,7 +969,13 @@ Boston, MA 02111-1307, USA. */
969/* Tell regex.c to use a type compatible with Emacs. */ 969/* Tell regex.c to use a type compatible with Emacs. */
970#define RE_TRANSLATE_TYPE Lisp_Object 970#define RE_TRANSLATE_TYPE Lisp_Object
971#define RE_TRANSLATE(TBL, C) CHAR_TABLE_TRANSLATE (TBL, C) 971#define RE_TRANSLATE(TBL, C) CHAR_TABLE_TRANSLATE (TBL, C)
972#ifdef make_number
973/* If make_number is a macro, use it. */
972#define RE_TRANSLATE_P(TBL) (!EQ (TBL, make_number (0))) 974#define RE_TRANSLATE_P(TBL) (!EQ (TBL, make_number (0)))
975#else
976/* If make_number is a function, avoid it. */
977#define RE_TRANSLATE_P(TBL) (!(INTEGERP (TBL) && XINT (TBL) == 0))
978#endif
973#endif 979#endif
974 980
975/* Avoid link-time collision with system mktime if we will use our own. */ 981/* Avoid link-time collision with system mktime if we will use our own. */