annotate src/s/sol2-5.h @ 71822:7b7a32c8c767

(CHECK_TYPE): New macro for generic type checking. (CAR_SAFE, CDR_SAFE): New macros. (ARRAYP, CHECK_ARRAY): New macros. (CHECK_VECTOR_OR_STRING, CHECK_SUBR): New macros. (CHECK_WINDOW_CONFIGURATION): New macro. (CHECK_LIST_CONS, CHECK_LIST_END): New checks for list traversal. (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST) (CHECK_STRING, CHECK_STRING_CAR, CHECK_CONS, CHECK_SYMBOL) (CHECK_CHAR_TABLE, CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE) (CHECK_BUFFER, CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS) (CHECK_NUMBER, CHECK_NATNUM, CHECK_MARKER, CHECK_OVERLAY) (CHECK_NUMBER_COERCE_MARKER, CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT) (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER): Use CHECK_TYPE.
author Kim F. Storm <storm@cua.dk>
date Wed, 12 Jul 2006 13:13:44 +0000
parents 695cf19ef79e
children 375f2633d815 82045a035109
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12055
219467331ba0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
1 /* Handle Solaris 2.5. */
219467331ba0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
2
219467331ba0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
3 #include "sol2-4.h"
13788
9cba53e85252 (LIBXT_STATIC, STATIC_OPTION): Defined.
Karl Heuer <kwzh@gnu.org>
parents: 12734
diff changeset
4
48151
fd02c9c4a941 (BROKEN_SIGIO): Turn off the #undef.
Richard M. Stallman <rms@gnu.org>
parents: 48083
diff changeset
5 #if 0 /* Klaus Zeitler <kzeitler@lucent.com> says SIGIO still fails. */
46923
9fe1de6ce7ca (BROKEN_SIGIO): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 44685
diff changeset
6 #undef BROKEN_SIGIO
48151
fd02c9c4a941 (BROKEN_SIGIO): Turn off the #undef.
Richard M. Stallman <rms@gnu.org>
parents: 48083
diff changeset
7 #endif
46923
9fe1de6ce7ca (BROKEN_SIGIO): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents: 44685
diff changeset
8
15540
c4808cb5eccb (LIB_MOTIF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 14136
diff changeset
9 /* -lgen is needed for the regex and regcmp functions
c4808cb5eccb (LIB_MOTIF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 14136
diff changeset
10 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
11 regex.c to provide them in Emacs, but this is safer for now. */
15573
f4d9f4b3bc86 (LIB_MOTIF): Fix typo.
Richard M. Stallman <rms@gnu.org>
parents: 15540
diff changeset
12 #define LIB_MOTIF -lXm -lgen
15540
c4808cb5eccb (LIB_MOTIF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 14136
diff changeset
13
20751
b8fbd605fd11 (SYSTEM_MALLOC): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 15573
diff changeset
14 /* This is the only known way to avoid some crashes
b8fbd605fd11 (SYSTEM_MALLOC): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 15573
diff changeset
15 that seem to relate to screwed up malloc data
b8fbd605fd11 (SYSTEM_MALLOC): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 15573
diff changeset
16 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
17 /* 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
18 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
19 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
20 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
21 /* 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
22 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
23 /* #define SYSTEM_MALLOC */
20751
b8fbd605fd11 (SYSTEM_MALLOC): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 15573
diff changeset
24
33659
4af2de0f7326 Move #undef USE_MMAP_FOR_BUFFERS out of #if 0 ... #endif scope.
Kenichi Handa <handa@m17n.org>
parents: 33630
diff changeset
25 /* 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
26 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
27 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
28
4af2de0f7326 Move #undef USE_MMAP_FOR_BUFFERS out of #if 0 ... #endif scope.
Kenichi Handa <handa@m17n.org>
parents: 33630
diff changeset
29 #undef USE_MMAP_FOR_BUFFERS
49356
fbabb532002e (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
Dave Love <fx@gnu.org>
parents: 48151
diff changeset
30
fbabb532002e (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
Dave Love <fx@gnu.org>
parents: 48151
diff changeset
31 /* Probably OK also on earlier versions. */
fbabb532002e (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
Dave Love <fx@gnu.org>
parents: 48151
diff changeset
32 #define GC_SETJMP_WORKS 1
fbabb532002e (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
Dave Love <fx@gnu.org>
parents: 48151
diff changeset
33 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49356
diff changeset
34
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49356
diff changeset
35 /* arch-tag: 96d65526-21c9-4547-a797-2bd575c05be7
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49356
diff changeset
36 (do not change this comment) */