# HG changeset patch # User Richard M. Stallman # Date 1102031031 0 # Node ID 311652551ce26a187f6d11a2b7eeedc979768957 # Parent dc21606c560a5b114ca33a7033d410e6a9e58846 (RE_TRANSLATE_P): If make_number is not a macro, don't use it here. diff -r dc21606c560a -r 311652551ce2 src/config.in --- a/src/config.in Thu Dec 02 23:37:13 2004 +0000 +++ b/src/config.in Thu Dec 02 23:43:51 2004 +0000 @@ -969,7 +969,13 @@ /* Tell regex.c to use a type compatible with Emacs. */ #define RE_TRANSLATE_TYPE Lisp_Object #define RE_TRANSLATE(TBL, C) CHAR_TABLE_TRANSLATE (TBL, C) +#ifdef make_number +/* If make_number is a macro, use it. */ #define RE_TRANSLATE_P(TBL) (!EQ (TBL, make_number (0))) +#else +/* If make_number is a function, avoid it. */ +#define RE_TRANSLATE_P(TBL) (!(INTEGERP (TBL) && XINT (TBL) == 0)) +#endif #endif /* Avoid link-time collision with system mktime if we will use our own. */