home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Source / GNU / emacs / src / s-sunos4-1.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-10-03  |  893 b   |  35 lines

  1. #include "s-sunos4-0.h"
  2.  
  3. /* 4.1.1 makes these system calls interruptable.  */
  4.  
  5. #define read sys_read
  6. #define write sys_write
  7. #define open sys_open
  8. #define close sys_close
  9.  
  10. #define INTERRUPTABLE_OPEN
  11. #define INTERRUPTABLE_CLOSE
  12. #define INTERRUPTABLE_IO
  13.  
  14.  
  15. #define HAVE_TZSET
  16.  
  17. /* Cause the compilation of oldxmenu to use the right -I option.  */
  18. #define OLDXMENU_OPTIONS CFLAGS=C_SWITCH_SYSTEM
  19.  
  20. /* The following is needed to work with the "Open Windows"
  21.    version of X windows.  But it should do no harm if you don't have that.  */
  22. #if 1  /* The -I and -L options should be harmless otherwise.  */
  23. #undef LD_SWITCH_SYSTEM
  24. #if __GNUC__ > 1
  25. #define LD_SWITCH_SYSTEM -e __start -static -L/usr/openwin/lib
  26. #else
  27. #define LD_SWITCH_SYSTEM -e __start -Bstatic -L/usr/openwin/lib
  28. #endif
  29.  
  30. #define C_SWITCH_SYSTEM -I/usr/openwin/include
  31. #endif 
  32.  
  33. /* Enable a fix in malloc.  */
  34. #define SUNOS_LOCALTIME_BUG
  35.