annotate src/s/sol2-5.h @ 105994:009383a57ce8

* x-dnd.el (x-dnd-maybe-call-test-function): * window.el (split-window-vertically): * whitespace.el (whitespace-help-on): * vc-rcs.el (vc-rcs-consult-headers): * userlock.el (ask-user-about-lock-help) (ask-user-about-supersession-help): * type-break.el (type-break-force-mode-line-update): * time-stamp.el (time-stamp-conv-warn): * terminal.el (te-set-output-log, te-more-break, te-filter) (te-sentinel,terminal-emulator): * term.el (make-term, term-exec, term-sentinel, term-read-input-ring) (term-write-input-ring, term-check-source, term-start-output-log): (term-display-buffer-line, term-dynamic-list-completions): (term-ansi-make-term, serial-term): * subr.el (selective-display): * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer) (strokes-encode-buffer, strokes-xpm-for-compressed-string): * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info) (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support) (speedbar-remove-localized-speedbar-support) (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy) (speedbar-update-special-contents, speedbar-buffer-buttons-engine) (speedbar-buffers-line-directory): * simple.el (shell-command-on-region, append-to-buffer) (prepend-to-buffer): * shadowfile.el (shadow-save-todo-file): * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1) (scroll-bar-maybe-set-window-start): * sb-image.el (speedbar-image-dump): * saveplace.el (save-place-alist-to-file, save-places-to-alist) (load-save-place-alist-from-file): * ps-samp.el (ps-print-message-from-summary): * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox) (ps-background-image, ps-begin-job, ps-do-despool): * ps-bdf.el (bdf-find-file, bdf-read-font-info): * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting) (pr-ps-message-from-summary, pr-lpr-message-from-summary): (pr-call-process, pr-file-list, pr-interface-save): * novice.el (disabled-command-function) (enable-command, disable-command): * mouse.el (mouse-buffer-menu-alist): * mouse-copy.el (mouse-kill-preserving-secondary): * macros.el (kbd-macro-query): * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt): * informat.el (batch-info-validate): * ido.el (ido-copy-current-word, ido-initiate-auto-merge): * hippie-exp.el (try-expand-dabbrev-visible): * help-mode.el (help-make-xrefs): * help-fns.el (describe-variable): * generic-x.el (bat-generic-mode-run-as-comint): * finder.el (finder-mouse-select): * find-dired.el (find-dired-sentinel): * filesets.el (filesets-file-close): * files.el (list-directory): * faces.el (list-faces-display, describe-face): * facemenu.el (list-colors-display): * ezimage.el (ezimage-image-association-dump, ezimage-image-dump): * epg.el (epg--process-filter, epg-cancel): * epa.el (epa--marked-keys, epa--select-keys, epa-display-info) (epa--read-signature-type): * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B) (emerge-file-names): * ehelp.el (electric-helpify): * ediff.el (ediff-regions-wordwise, ediff-regions-linewise): * ediff-vers.el (rcs-ediff-view-revision): * ediff-util.el (ediff-setup): * ediff-mult.el (ediff-append-custom-diff): * ediff-diff.el (ediff-exec-process, ediff-process-sentinel) (ediff-wordify): * echistory.el (Electric-command-history-redo-expression): * dos-w32.el (find-file-not-found-set-buffer-file-coding-system): * disp-table.el (describe-display-table): * dired.el (dired-find-buffer-nocreate): * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory): * dabbrev.el (dabbrev--same-major-mode-p): * chistory.el (list-command-history): * apropos.el (apropos-documentation): * allout.el (allout-obtain-passphrase): (allout-copy-exposed-to-buffer): (allout-verify-passphrase): Use with-current-buffer.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 13 Nov 2009 22:19:45 +0000
parents 82045a035109
children
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
15540
c4808cb5eccb (LIB_MOTIF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 14136
diff changeset
5 /* -lgen is needed for the regex and regcmp functions
c4808cb5eccb (LIB_MOTIF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 14136
diff changeset
6 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
7 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
8 #define LIB_MOTIF -lXm -lgen
15540
c4808cb5eccb (LIB_MOTIF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 14136
diff changeset
9
20751
b8fbd605fd11 (SYSTEM_MALLOC): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 15573
diff changeset
10 /* This is the only known way to avoid some crashes
b8fbd605fd11 (SYSTEM_MALLOC): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 15573
diff changeset
11 that seem to relate to screwed up malloc data
b8fbd605fd11 (SYSTEM_MALLOC): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 15573
diff changeset
12 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
13 /* 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
14 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
15 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
16 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
17 /* 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
18 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
19 /* #define SYSTEM_MALLOC */
20751
b8fbd605fd11 (SYSTEM_MALLOC): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 15573
diff changeset
20
33659
4af2de0f7326 Move #undef USE_MMAP_FOR_BUFFERS out of #if 0 ... #endif scope.
Kenichi Handa <handa@m17n.org>
parents: 33630
diff changeset
21 /* 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
22 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
23 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
24
4af2de0f7326 Move #undef USE_MMAP_FOR_BUFFERS out of #if 0 ... #endif scope.
Kenichi Handa <handa@m17n.org>
parents: 33630
diff changeset
25 #undef USE_MMAP_FOR_BUFFERS
49356
fbabb532002e (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
Dave Love <fx@gnu.org>
parents: 48151
diff changeset
26
fbabb532002e (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
Dave Love <fx@gnu.org>
parents: 48151
diff changeset
27 /* Probably OK also on earlier versions. */
fbabb532002e (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
Dave Love <fx@gnu.org>
parents: 48151
diff changeset
28 #define GC_SETJMP_WORKS 1
fbabb532002e (GC_SETJMP_WORKS, GC_MARK_STACK): Define.
Dave Love <fx@gnu.org>
parents: 48151
diff changeset
29 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49356
diff changeset
30
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49356
diff changeset
31 /* arch-tag: 96d65526-21c9-4547-a797-2bd575c05be7
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49356
diff changeset
32 (do not change this comment) */