annotate src/s/sunos4-0.h @ 16252:41c962c84de5

(VERTICAL_SCROLL_BAR_INSIDE_WIDTH): Add frame as an argument, and use it to decrease the width in the case of a left-side scroll bar; this prevents the bar and adjacent text from scrunching together. (LEFT_VERTICAL_SCROLL_BAR_WIDTH_TRIM): Add constant. (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT): New arg F (not used). (VERTICAL_SCROLL_BAR_TOP_RANGE): New arg F (not used).
author Richard M. Stallman <rms@gnu.org>
date Sat, 21 Sep 1996 00:59:54 +0000
parents 5010c26b7a07
children b751e29103f4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1 #include "bsd4-2.h"
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
2
8757
5010c26b7a07 (SUNOS4): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7140
diff changeset
3 #ifndef SUNOS4
5010c26b7a07 (SUNOS4): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7140
diff changeset
4 #define SUNOS4
5010c26b7a07 (SUNOS4): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7140
diff changeset
5 #endif
5010c26b7a07 (SUNOS4): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 7140
diff changeset
6
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
7 #if 0 /* This may have been needed for an earlier version of Sun OS 4.
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
8 It seems to cause warnings in 4.0.3 and 4.1. */
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
9 #define O_NDELAY FNDELAY /* Non-blocking I/O (4.2 style) */
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
10 #endif
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
11
7140
c2e4cc470ade (LD_SWITCH_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents: 6820
diff changeset
12 /* We use the Sun syntax -Bstatic unconditionally, because even when we
c2e4cc470ade (LD_SWITCH_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents: 6820
diff changeset
13 use GCC, these are passed through to the linker, not handled by GCC
c2e4cc470ade (LD_SWITCH_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents: 6820
diff changeset
14 directly. */
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
15 #define LD_SWITCH_SYSTEM -e __start -Bstatic
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
16
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
17 /* In SunOS 4.1, a static function called by tzsetwall reportedly
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
18 clears the byte just past an eight byte region it mallocs, corrupting
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
19 GNU malloc's memory pool. But Sun's malloc doesn't seem to mind. */
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
20
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
21 #define SYSTEM_MALLOC
5681
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
22
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
23 #ifdef __GNUC__
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
24 /* We must define mkdir with this arg prototype
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
25 to match GCC's fixed stat.h. */
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
26 #define MKDIR_PROTOTYPE \
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
27 int mkdir (const char *dpath, unsigned short dmode)
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
28 #endif /* __GNUC__ */