view src/m/ncr386.h @ 33643:5c2be00ed2ba

(scroll_bar_windows, scroll_bar_windows_size): New variables. (x_send_scroll_bar_event): Store the window in scroll_bar_windows and store an index in the XClientMessageEvent. Storing a Lisp_Object or pointer can fail on a 64 bit system, since X only transfers 32 bits. (x_scroll_bar_to_input_event): Get the window from scroll_bar_windows.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 20 Nov 2000 16:49:44 +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__ */