Mercurial > emacs
annotate src/s/sunos4-0.h @ 7582:454c279b6d18
(syms_of_textprop): Set up Lisp fn get-char-property.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 20 May 1994 05:29:50 +0000 |
parents | c2e4cc470ade |
children | 5010c26b7a07 |
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 | |
7140
c2e4cc470ade
(LD_SWITCH_SYSTEM): Undo previous change.
Richard M. Stallman <rms@gnu.org>
parents:
6820
diff
changeset
|
8 /* 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
|
9 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
|
10 directly. */ |
457 | 11 #define LD_SWITCH_SYSTEM -e __start -Bstatic |
12 | |
13 /* In SunOS 4.1, a static function called by tzsetwall reportedly | |
14 clears the byte just past an eight byte region it mallocs, corrupting | |
15 GNU malloc's memory pool. But Sun's malloc doesn't seem to mind. */ | |
16 | |
17 #define SYSTEM_MALLOC | |
5681
4524a1b19b67
[__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
457
diff
changeset
|
18 |
4524a1b19b67
[__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
457
diff
changeset
|
19 #ifdef __GNUC__ |
4524a1b19b67
[__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
457
diff
changeset
|
20 /* We must define mkdir with this arg prototype |
4524a1b19b67
[__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
457
diff
changeset
|
21 to match GCC's fixed stat.h. */ |
4524a1b19b67
[__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
457
diff
changeset
|
22 #define MKDIR_PROTOTYPE \ |
4524a1b19b67
[__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
457
diff
changeset
|
23 int mkdir (const char *dpath, unsigned short dmode) |
4524a1b19b67
[__GNUC__] (MKDIR_PROTOTYPE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
457
diff
changeset
|
24 #endif /* __GNUC__ */ |