Mercurial > emacs
annotate src/getpagesize.h @ 32967:7625203dacf3
2000-10-27 ShengHuo ZHU <zsh@cs.rochester.edu>
* message.el (message-send-mail-partially): Replace the header
delimiter with a blank line.
(message-sending-message): New variable.
(message-send): Use it.
(message-default-charset): Default value for non-Mule Emacsen.
(message-alternative-emails): New.
(message-use-alternative-email-as-from): New.
(message-setup): Use them.
(message-default-charset): Set default value in non-MULE XEmacsen
as iso-8859-1.
2000-10-27 Emerick Rogul <emerick@csa.bu.edu>
* message.el (message-setup-fill-variables): New variable.
(message-mode): Use it.
2000-10-27 Bjorn Torkelsson <torkel@hpc2n.umu.se>
* message.el: xemacs cleanup (use featurep ' xemacs)
2000-10-27 Stanislav Shalunov <shalunov@internet2.edu>
* message.el (message-make-in-reply-to): In-Reply-To is message-id
(see DRUMS).
2000-10-27 Simon Josefsson <simon@josefsson.org>
* message.el (message-send): Make sure error is signalled if no
send method is specified.
author | Dave Love <fx@gnu.org> |
---|---|
date | Fri, 27 Oct 2000 17:58:21 +0000 |
parents | 4f9e6148ce6a |
children | c8fb06423da0 |
rev | line source |
---|---|
4356 | 1 /* Emulate getpagesize on systems that lack it. */ |
2 | |
3 #ifndef HAVE_GETPAGESIZE | |
4 | |
16599 | 5 # ifdef VMS |
6 # define getpagesize() 512 | |
7 # endif | |
4356 | 8 |
16599 | 9 # ifdef HAVE_UNISTD_H |
10 # include <unistd.h> | |
11 # endif | |
4356 | 12 |
16599 | 13 # ifdef _SC_PAGESIZE |
14 # define getpagesize() sysconf(_SC_PAGESIZE) | |
16600
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
15 # else /* no _SC_PAGESIZE */ |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
16 # ifdef HAVE_SYS_PARAM_H |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
17 # include <sys/param.h> |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
18 # ifdef EXEC_PAGESIZE |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
19 # define getpagesize() EXEC_PAGESIZE |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
20 # else /* no EXEC_PAGESIZE */ |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
21 # ifdef NBPG |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
22 # define getpagesize() NBPG * CLSIZE |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
23 # ifndef CLSIZE |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
24 # define CLSIZE 1 |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
25 # endif /* no CLSIZE */ |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
26 # else /* no NBPG */ |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
27 # ifdef NBPC |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
28 # define getpagesize() NBPC |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
29 # else /* no NBPC */ |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
30 # ifdef PAGESIZE |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
31 # define getpagesize() PAGESIZE |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
32 # endif /* PAGESIZE */ |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
33 # endif /* no NBPC */ |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
34 # endif /* no NBPG */ |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
35 # endif /* no EXEC_PAGESIZE */ |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
36 # else /* no HAVE_SYS_PARAM_H */ |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
37 # define getpagesize() 8192 /* punt totally */ |
4f9e6148ce6a
If no sys/param.h, default to 8k.
David J. MacKenzie <djm@gnu.org>
parents:
16599
diff
changeset
|
38 # endif /* no HAVE_SYS_PARAM_H */ |
16599 | 39 # endif /* no _SC_PAGESIZE */ |
4356 | 40 |
16599 | 41 #endif /* no HAVE_GETPAGESIZE */ |