patch-setjump_h 391 B

123456789101112131415
  1. $OpenBSD: patch-setjump_h,v 1.1 2010/09/28 20:48:04 jasper Exp $
  2. Allow scm to build on OpenBSD/hppa.
  3. --- setjump.h.orig Sat Sep 25 22:48:58 2010
  4. +++ setjump.h Sat Sep 25 22:49:38 2010
  5. @@ -123,3 +123,7 @@ typedef struct safeport {
  6. } safeport;
  7. #define SAFEP_JMPBUF(sfp) (((safeport *)STREAM(sfp))->jmpbuf)
  8. +
  9. +#if defined(__OpenBSD__) && defined(__hppa__)
  10. +#define STACK_GROWS_UP
  11. +#endif