comparison src/config.in @ 58452:8b0845c0b266

(RE_TRANSLATE_P): Don't use XFASTINT blindly.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 23 Nov 2004 05:20:49 +0000
parents 0d9f8735eca6
children 311652551ce2
comparison
equal deleted inserted replaced
58451:4fcc66cf0b9c 58452:8b0845c0b266
1 /* src/config.in. Generated from configure.in by autoheader. */ 1 /* src/config.in. Generated from configure.in by autoheader. */
2 2
3 /* GNU Emacs site configuration template file. 3 /* GNU Emacs site configuration template file.
4 Copyright (C) 1988, 93, 94, 99, 2000, 2002 Free Software Foundation, Inc. 4 Copyright (C) 1988, 1993, 1994, 1999, 2000, 2002, 2004
5 Free Software Foundation, Inc.
5 6
6 This file is part of GNU Emacs. 7 This file is part of GNU Emacs.
7 8
8 GNU Emacs is free software; you can redistribute it and/or modify 9 GNU Emacs is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by 10 it under the terms of the GNU General Public License as published by
966 967
967 #ifdef emacs /* Don't do this for lib-src. */ 968 #ifdef emacs /* Don't do this for lib-src. */
968 /* Tell regex.c to use a type compatible with Emacs. */ 969 /* Tell regex.c to use a type compatible with Emacs. */
969 #define RE_TRANSLATE_TYPE Lisp_Object 970 #define RE_TRANSLATE_TYPE Lisp_Object
970 #define RE_TRANSLATE(TBL, C) CHAR_TABLE_TRANSLATE (TBL, C) 971 #define RE_TRANSLATE(TBL, C) CHAR_TABLE_TRANSLATE (TBL, C)
971 #define RE_TRANSLATE_P(TBL) (XFASTINT (TBL) != 0) 972 #define RE_TRANSLATE_P(TBL) (!EQ (TBL, make_number (0)))
972 #endif 973 #endif
973 974
974 /* Avoid link-time collision with system mktime if we will use our own. */ 975 /* Avoid link-time collision with system mktime if we will use our own. */
975 #if ! HAVE_MKTIME || BROKEN_MKTIME 976 #if ! HAVE_MKTIME || BROKEN_MKTIME
976 #define mktime emacs_mktime 977 #define mktime emacs_mktime