annotate src/s/sunos4-0.h @ 6931:2d0ee7ef620a

(xmenu_show): Fix typo in last change.
author Richard M. Stallman <rms@gnu.org>
date Sun, 17 Apr 1994 07:50:32 +0000
parents 584da439d8b1
children c2e4cc470ade
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
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
3 #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
4 It seems to cause warnings in 4.0.3 and 4.1. */
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
5 #define O_NDELAY FNDELAY /* Non-blocking I/O (4.2 style) */
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6 #endif
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
7
6820
584da439d8b1 (LD_SWITCH_SYSTEM): Alternate definition if __GNUC__.
Richard M. Stallman <rms@gnu.org>
parents: 5681
diff changeset
8 #ifdef __GNUC__
584da439d8b1 (LD_SWITCH_SYSTEM): Alternate definition if __GNUC__.
Richard M. Stallman <rms@gnu.org>
parents: 5681
diff changeset
9 #define LD_SWITCH_SYSTEM -e __start -static
584da439d8b1 (LD_SWITCH_SYSTEM): Alternate definition if __GNUC__.
Richard M. Stallman <rms@gnu.org>
parents: 5681
diff changeset
10 #else
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
11 #define LD_SWITCH_SYSTEM -e __start -Bstatic
6820
584da439d8b1 (LD_SWITCH_SYSTEM): Alternate definition if __GNUC__.
Richard M. Stallman <rms@gnu.org>
parents: 5681
diff changeset
12 #endif
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
13
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
14 /* In SunOS 4.1, a static function called by tzsetwall reportedly
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
15 clears the byte just past an eight byte region it mallocs, corrupting
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
16 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
17
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
18 #define SYSTEM_MALLOC
5681
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
19
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
20 #ifdef __GNUC__
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
21 /* We must define mkdir with this arg prototype
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
22 to match GCC's fixed stat.h. */
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
23 #define MKDIR_PROTOTYPE \
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
24 int mkdir (const char *dpath, unsigned short dmode)
4524a1b19b67 [__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
25 #endif /* __GNUC__ */