(x_window): Test FRAME_EXTERNAL_MENU_BAR
[emacs.git] / src / s / sunos4-0.h
blob6625785d859448d59ecfdb329a63a00f4cacbe24
1 #include "bsd4-2.h"
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
8 #ifdef __GNUC__
9 #define LD_SWITCH_SYSTEM -e __start -static
10 #else
11 #define LD_SWITCH_SYSTEM -e __start -Bstatic
12 #endif
14 /* In SunOS 4.1, a static function called by tzsetwall reportedly
15 clears the byte just past an eight byte region it mallocs, corrupting
16 GNU malloc's memory pool. But Sun's malloc doesn't seem to mind. */
18 #define SYSTEM_MALLOC
20 #ifdef __GNUC__
21 /* We must define mkdir with this arg prototype
22 to match GCC's fixed stat.h. */
23 #define MKDIR_PROTOTYPE \
24 int mkdir (const char *dpath, unsigned short dmode)
25 #endif /* __GNUC__ */