diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/config.in | 6 |
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. */ |