patch-simgear_compiler_h 459 B

1234567891011121314
  1. $OpenBSD: patch-simgear_compiler_h,v 1.2 2016/09/19 22:38:50 pascal Exp $
  2. --- simgear/compiler.h.orig Thu Sep 8 08:52:42 2016
  3. +++ simgear/compiler.h Mon Sep 19 16:14:31 2016
  4. @@ -184,7 +184,8 @@ inline int (isnan)(double r) { return !(r <= 0 || r >=
  5. # define SG_WINDOWS
  6. #endif
  7. -#if defined(__linux__) || defined(_AIX) || defined ( sgi )
  8. +#if defined(__linux__) || defined(_AIX) || defined ( sgi ) || \
  9. + defined(__OpenBSD__)
  10. # define SG_UNIX
  11. #endif