patch-arch_mips_machine_h 506 B

12345678910111213141516171819
  1. $OpenBSD: patch-arch_mips_machine_h,v 1.4 2016/01/28 18:14:54 jasper Exp $
  2. http://git.savannah.gnu.org/cgit/gforth.git/commit/?id=4a03e4ff51314fc3a97acedeee928822b3bf1433
  3. --- arch/mips/machine.h.orig Fri Oct 11 23:31:28 2013
  4. +++ arch/mips/machine.h Tue Jan 26 09:04:42 2016
  5. @@ -26,8 +26,10 @@
  6. #endif
  7. /* cache flush stuff */
  8. -#ifdef ultrix
  9. +#if defined(ultrix)
  10. #include <mips/cachectl.h>
  11. +#elif defined(__OpenBSD__)
  12. +#include <mips64/sysarch.h>
  13. #else
  14. /* works on Irix */
  15. #include <sys/cachectl.h>