Mercurial > emacs
annotate src/s/sunos4-0.h @ 6614:e095c5efe2e0
(child_setup): Check out==err when relocating fds.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Thu, 31 Mar 1994 22:19:27 +0000 |
parents | 4524a1b19b67 |
children | 584da439d8b1 |
rev | line source |
---|---|
457 | 1 #include "bsd4-2.h" |
2 | |
3 #if 0 /* This may have been needed for an earlier version of Sun OS 4. | |
4 It seems to cause warnings in 4.0.3 and 4.1. */ | |
5 #define O_NDELAY FNDELAY /* Non-blocking I/O (4.2 style) */ | |
6 #endif | |
7 | |
8 #define LD_SWITCH_SYSTEM -e __start -Bstatic | |
9 | |
10 /* In SunOS 4.1, a static function called by tzsetwall reportedly | |
11 clears the byte just past an eight byte region it mallocs, corrupting | |
12 GNU malloc's memory pool. But Sun's malloc doesn't seem to mind. */ | |
13 | |
14 #define SYSTEM_MALLOC | |
5681
4524a1b19b67
[__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
457
diff
changeset
|
15 |
4524a1b19b67
[__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
457
diff
changeset
|
16 #ifdef __GNUC__ |
4524a1b19b67
[__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
457
diff
changeset
|
17 /* We must define mkdir with this arg prototype |
4524a1b19b67
[__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
457
diff
changeset
|
18 to match GCC's fixed stat.h. */ |
4524a1b19b67
[__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
457
diff
changeset
|
19 #define MKDIR_PROTOTYPE \ |
4524a1b19b67
[__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
457
diff
changeset
|
20 int mkdir (const char *dpath, unsigned short dmode) |
4524a1b19b67
[__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
457
diff
changeset
|
21 #endif /* __GNUC__ */ |