view src/m/ncr386.h @ 46860:8b7ade57211d

2002-08-11 Andrew Choi <akochoi@shaw.ca> * macterm.c (XTmouse_position): Check wp with is_emacs_window. (Vmac_pass_command_to_system): New variable. (Vmac_pass_control_to_system): New variable. (do_mouse_moved): Check wp with is_emacs_window. (XTread_socket): Check window_ptr with is_emacs_window. Call FrontNonFloatingWindow instead of FrontWindow. Send keydown events back to Mac Toolbox for processing, depending on values of Vmac_pass_command_to_system and Vmac_pass_control_to_system. (syms_of_macterm): DEFVAR_LISP Vmac_pass_command_to_system and Vmac_pass_control_to_system.
author Andrew Choi <akochoi@shaw.ca>
date Mon, 12 Aug 2002 04:33:59 +0000
parents ca0aead90c7b
children 695cf19ef79e
line wrap: on
line source

#include "intel386.h"

#ifndef __GNUC__
/* 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
#else /* __GNUC__ */

/* Assuming we are using GNU ld, pass a -R option to it
   so that shared libraries will be found at execution time
   just as they are found at link time.  */
#define LD_SWITCH_X_DEFAULT -Xlinker LD_SWITCH_X_SITE_AUX

#endif /* __GNUC__ */