(Fmake_temp_name): forgot the \n\ in the docstring
[emacs.git] / src / s / sunos4-0.h
blobe648aedab0fc2453d5ac71bc3c10167a6277c87e
1 #include "bsd4-2.h"
3 #ifndef SUNOS4
4 #define SUNOS4
5 #endif
7 #if 0 /* This may have been needed for an earlier version of Sun OS 4.
8 It seems to cause warnings in 4.0.3 and 4.1. */
9 #define O_NDELAY FNDELAY /* Non-blocking I/O (4.2 style) */
10 #endif
12 /* We use the Sun syntax -Bstatic unconditionally, because even when we
13 use GCC, these are passed through to the linker, not handled by GCC
14 directly. */
15 #define LD_SWITCH_SYSTEM -Bstatic
17 /* We use this for linking temacs, but not for other programs
18 or for tests in configure. */
19 #define LD_SWITCH_SYSTEM_TEMACS -e __start
21 /* In SunOS 4.1, a static function called by tzsetwall reportedly
22 clears the byte just past an eight byte region it mallocs, corrupting
23 GNU malloc's memory pool. But Sun's malloc doesn't seem to mind. */
25 #define SYSTEM_MALLOC
27 #ifdef __GNUC__
28 /* We must define mkdir with this arg prototype
29 to match GCC's fixed stat.h. */
30 #define MKDIR_PROTOTYPE \
31 int mkdir (const char *dpath, unsigned short dmode)
32 #endif /* __GNUC__ */