Mercurial > hg > xemacs-beta
view lwlib/config.h.in @ 2881:0e0af7cbfd1b
[xemacs-hg @ 2005-08-01 16:28:18 by darrylo]
On some (64-bit) systems, sizeof(int) != sizeof(long), and this can
cause crashes because in-use lisp objects can get prematurely gc'd (and
0xdeadbeef'd). This occurs because the memory_description for the
Gap_Array structure incorrectly describes some members as XD_INT's
(32-bit objects), when they should actually be XD_ELEMCOUNT's and
XD_BYTECOUNT's (both 64-bit objects), as that is how they are declared
in the structure.
author | darrylo |
---|---|
date | Mon, 01 Aug 2005 16:28:21 +0000 |
parents | 04bc9d2f42c7 |
children | 308d34e9f07d |
line wrap: on
line source
/* Lwlib site configuration template file. -*- C -*- Copyright (C) 1997 Sun Microsystems, Inc. This file is part of XEmacs. XEmacs is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. XEmacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with XEmacs; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Not in FSF. */ #ifndef _LWLIB_CONFIG_H_ #define _LWLIB_CONFIG_H_ #include "../src/config.h" #include "../src/compiler.h" #undef NEED_MOTIF #undef NEED_ATHENA #undef NEED_LUCID /* The exact path to the Athena header files depends on which `flavor' of Athena is being used - hence configure defines them for us. */ #undef ATHENA_Scrollbar_h_ #undef ATHENA_Dialog_h_ #undef ATHENA_Form_h_ #undef ATHENA_Command_h_ #undef ATHENA_Label_h_ #undef ATHENA_LabelP_h_ #undef ATHENA_Toggle_h_ #undef ATHENA_ToggleP_h_ #undef ATHENA_AsciiText_h_ #undef ATHENA_XawInit_h_ #endif /* _LWLIB_CONFIG_H_ */