Mercurial > hg > xemacs-beta
view src/m/ibm370aix.h @ 4476:dbf79a1732ba
Don't try to get text width for the null font instance, mswindows
2008-07-10 Aidan Kehoe <kehoea@parhasard.net>
* redisplay-msw.c (mswindows_text_width_single_run):
Explicitly check for the null font instance, and return zero if
so. Avoids the crash documented in
http://mid.gmane.org/18473.32468.712317.149457@parhasard.net .
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Thu, 10 Jul 2008 17:05:59 +0200 |
parents | 3ecd8885ac67 |
children |
line wrap: on
line source
/* Synched up with: FSF 19.31. */ /* m/ file for IBM 370 running AIX. */ #include "ibmps2-aix.h" #define AIX /* these were defined in "ibmps2-aix.h" */ #undef INTEL386 #undef aix386 #undef TEXT_START #undef SEGMENT_MASK #undef DATA_SECTION_ALIGNMENT #define TEXT_START 0 #define SEGMENT_MASK 0 #define DATA_SECTION_ALIGNMENT 0x00001000 #undef LOAD_AVE_CVT #undef LOAD_AVE_TYPE /* Data type of load average, as read out of kmem. */ #define LOAD_AVE_CVT(x) (int)(((double) (x)) * 100.0 / 1.0) #define LOAD_AVE_TYPE double #undef LIBS_MACHINE #define LIBS_MACHINE #undef LD_SWITCH_MACHINE #define LD_SWITCH_MACHINE "-xa"