view src/m/ncr386.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. */

#include "intel386.h"

/* Allow emacs to link with "bcopy()" unresolved.  Works around a
   problem where /usr/lib/libX11.so provides bcopy, but
   /usr/ccs/lib/libX11.so does not.  */
#define LD_SWITCH_X_DEFAULT "-Wl,-z,nodefs"

#endif /* __GNUC__ */