Mercurial > emacs
annotate src/s/sol2-5.h @ 48028:c8f5ce92a086
Fixed first-line problem for function documentation strings.
author | Jonathan Yavner <jyavner@member.fsf.org> |
---|---|
date | Sun, 27 Oct 2002 16:35:06 +0000 |
parents | 12bf499a3593 |
children | 1ff808bd5f94 |
rev | line source |
---|---|
12055 | 1 /* Handle Solaris 2.5. */ |
2 | |
3 #include "sol2-4.h" | |
13788
9cba53e85252
(LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents:
12734
diff
changeset
|
4 |
46923
9fe1de6ce7ca
(BROKEN_SIGIO): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
44685
diff
changeset
|
5 #undef BROKEN_SIGIO |
9fe1de6ce7ca
(BROKEN_SIGIO): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
44685
diff
changeset
|
6 |
15540
c4808cb5eccb
(LIB_MOTIF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
14136
diff
changeset
|
7 /* -lgen is needed for the regex and regcmp functions |
c4808cb5eccb
(LIB_MOTIF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
14136
diff
changeset
|
8 which are used by Motif. In the future we can try changing |
c4808cb5eccb
(LIB_MOTIF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
14136
diff
changeset
|
9 regex.c to provide them in Emacs, but this is safer for now. */ |
15573 | 10 #define LIB_MOTIF -lXm -lgen |
15540
c4808cb5eccb
(LIB_MOTIF): New definition.
Richard M. Stallman <rms@gnu.org>
parents:
14136
diff
changeset
|
11 |
20751
b8fbd605fd11
(SYSTEM_MALLOC): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
15573
diff
changeset
|
12 /* This is the only known way to avoid some crashes |
b8fbd605fd11
(SYSTEM_MALLOC): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
15573
diff
changeset
|
13 that seem to relate to screwed up malloc data |
b8fbd605fd11
(SYSTEM_MALLOC): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
15573
diff
changeset
|
14 after deleting a frame. */ |
32933
934a00cadb3b
Don't define SYSTEM_MALLOC so that we can find out
Dave Love <fx@gnu.org>
parents:
26090
diff
changeset
|
15 /* rms: I think the problems using ralloc had to do with system |
934a00cadb3b
Don't define SYSTEM_MALLOC so that we can find out
Dave Love <fx@gnu.org>
parents:
26090
diff
changeset
|
16 libraries that called the system malloc even if we linked in the |
934a00cadb3b
Don't define SYSTEM_MALLOC so that we can find out
Dave Love <fx@gnu.org>
parents:
26090
diff
changeset
|
17 GNU malloc. I could not see any way to fix the problem except to |
934a00cadb3b
Don't define SYSTEM_MALLOC so that we can find out
Dave Love <fx@gnu.org>
parents:
26090
diff
changeset
|
18 have just one malloc and that had to be the system one. */ |
934a00cadb3b
Don't define SYSTEM_MALLOC so that we can find out
Dave Love <fx@gnu.org>
parents:
26090
diff
changeset
|
19 /* This is not always necessary. Turned off at present for testers to |
934a00cadb3b
Don't define SYSTEM_MALLOC so that we can find out
Dave Love <fx@gnu.org>
parents:
26090
diff
changeset
|
20 identify any problems with gmalloc more accurately. */ |
934a00cadb3b
Don't define SYSTEM_MALLOC so that we can find out
Dave Love <fx@gnu.org>
parents:
26090
diff
changeset
|
21 /* #define SYSTEM_MALLOC */ |
20751
b8fbd605fd11
(SYSTEM_MALLOC): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
15573
diff
changeset
|
22 |
33659
4af2de0f7326
Move #undef USE_MMAP_FOR_BUFFERS out of #if 0 ... #endif scope.
Kenichi Handa <handa@m17n.org>
parents:
33630
diff
changeset
|
23 /* There have problems reported with mmap at least on Solaris 2.6 |
4af2de0f7326
Move #undef USE_MMAP_FOR_BUFFERS out of #if 0 ... #endif scope.
Kenichi Handa <handa@m17n.org>
parents:
33630
diff
changeset
|
24 and 2.7. For simplicity, let's not use mmap for anything >= 2.5. |
4af2de0f7326
Move #undef USE_MMAP_FOR_BUFFERS out of #if 0 ... #endif scope.
Kenichi Handa <handa@m17n.org>
parents:
33630
diff
changeset
|
25 We can optimize this later. */ |
4af2de0f7326
Move #undef USE_MMAP_FOR_BUFFERS out of #if 0 ... #endif scope.
Kenichi Handa <handa@m17n.org>
parents:
33630
diff
changeset
|
26 |
4af2de0f7326
Move #undef USE_MMAP_FOR_BUFFERS out of #if 0 ... #endif scope.
Kenichi Handa <handa@m17n.org>
parents:
33630
diff
changeset
|
27 #undef USE_MMAP_FOR_BUFFERS |
4af2de0f7326
Move #undef USE_MMAP_FOR_BUFFERS out of #if 0 ... #endif scope.
Kenichi Handa <handa@m17n.org>
parents:
33630
diff
changeset
|
28 |
44685
b0d688e29ab4
(bcopy, bzero, bcmp): Define only if HAVE_BCOPY is not defined.
Eli Zaretskii <eliz@gnu.org>
parents:
33732
diff
changeset
|
29 /* Newer versions of Solaris have bcopy etc. as functions, with |
b0d688e29ab4
(bcopy, bzero, bcmp): Define only if HAVE_BCOPY is not defined.
Eli Zaretskii <eliz@gnu.org>
parents:
33732
diff
changeset
|
30 prototypes in strings.h. They lose if the defines from usg5-4.h |
b0d688e29ab4
(bcopy, bzero, bcmp): Define only if HAVE_BCOPY is not defined.
Eli Zaretskii <eliz@gnu.org>
parents:
33732
diff
changeset
|
31 are visible, which happens when X headers are included. */ |
b0d688e29ab4
(bcopy, bzero, bcmp): Define only if HAVE_BCOPY is not defined.
Eli Zaretskii <eliz@gnu.org>
parents:
33732
diff
changeset
|
32 #ifdef HAVE_BCOPY |
b0d688e29ab4
(bcopy, bzero, bcmp): Define only if HAVE_BCOPY is not defined.
Eli Zaretskii <eliz@gnu.org>
parents:
33732
diff
changeset
|
33 #undef bcopy |
b0d688e29ab4
(bcopy, bzero, bcmp): Define only if HAVE_BCOPY is not defined.
Eli Zaretskii <eliz@gnu.org>
parents:
33732
diff
changeset
|
34 #undef bzero |
b0d688e29ab4
(bcopy, bzero, bcmp): Define only if HAVE_BCOPY is not defined.
Eli Zaretskii <eliz@gnu.org>
parents:
33732
diff
changeset
|
35 #undef bcmp |
b0d688e29ab4
(bcopy, bzero, bcmp): Define only if HAVE_BCOPY is not defined.
Eli Zaretskii <eliz@gnu.org>
parents:
33732
diff
changeset
|
36 #ifndef NOT_C_CODE |
b0d688e29ab4
(bcopy, bzero, bcmp): Define only if HAVE_BCOPY is not defined.
Eli Zaretskii <eliz@gnu.org>
parents:
33732
diff
changeset
|
37 #include <strings.h> |
b0d688e29ab4
(bcopy, bzero, bcmp): Define only if HAVE_BCOPY is not defined.
Eli Zaretskii <eliz@gnu.org>
parents:
33732
diff
changeset
|
38 #endif |
b0d688e29ab4
(bcopy, bzero, bcmp): Define only if HAVE_BCOPY is not defined.
Eli Zaretskii <eliz@gnu.org>
parents:
33732
diff
changeset
|
39 #endif |