annotate src/m/ncr386.h @ 40700:6f6287da52d1
Include unistd.h, if it exists.
author |
Richard M. Stallman <rms@gnu.org> |
date |
Sun, 04 Nov 2001 03:20:33 +0000 |
parents |
ca0aead90c7b |
children |
695cf19ef79e |
rev |
line source |
11339
|
1 #include "intel386.h"
|
|
2
|
|
3 #ifndef __GNUC__
|
|
4 /* Allow emacs to link with "bcopy()" unresolved. Works around a
|
|
5 problem where /usr/lib/libX11.so provides bcopy, but
|
|
6 /usr/ccs/lib/libX11.so does not. */
|
|
7 #define LD_SWITCH_X_DEFAULT -Wl,-z,nodefs
|
|
8 #else /* __GNUC__ */
|
|
9
|
|
10 /* Assuming we are using GNU ld, pass a -R option to it
|
|
11 so that shared libraries will be found at execution time
|
|
12 just as they are found at link time. */
|
|
13 #define LD_SWITCH_X_DEFAULT -Xlinker LD_SWITCH_X_SITE_AUX
|
|
14
|
|
15 #endif /* __GNUC__ */
|