home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / emacs-19.16 / src / s / sol2.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-10  |  1.1 KB  |  34 lines

  1. #include "usg5-4.h"
  2.  
  3. /* This triggers a conditional in xfaces.c.  */
  4. #define XOS_NEEDS_TIME_H
  5.  
  6. #define POSIX
  7.  
  8. /* Here is how to find X Windows.  The -R option says where
  9.    to find X windows at run time.  */
  10. #ifndef __GNUC__
  11. #define LD_SWITCH_SYSTEM -R/usr/openwin/lib
  12. #else /* GCC */
  13. #define LD_SWITCH_SYSTEM -Xlinker -R/usr/openwin/lib
  14. #endif /* GCC */
  15.  
  16. /* Compile in non-ansi fashion to work around bugs in system header files.  */
  17. #ifndef __GNUC__
  18. #define C_SWITCH_SYSTEM -Xs
  19. #else /* GCC */
  20. #define C_SWITCH_SYSTEM -traditional
  21. #endif /* GCC */
  22. #define const
  23.  
  24. /* Karl Berry writes:
  25. If you have the misfortune to be running Solaris 2.1, you may have
  26. noticed that the access system call does not check the readonlyness of
  27. the filesystem the path refers to.  This is a bug, according to
  28. access(2), but in the meantime, some of us need the right behavior.  */
  29.  
  30. /* Well, we released Emacs with this change, and fixed a typo, but
  31.    people keep saying that it doesn't work, and that the patch is easy
  32.    to install.  Patch number is 100947-02.  */
  33. #undef SOLARIS_BROKEN_ACCESS
  34.