patch-3rdparty_enricomath_h 554 B

123456789101112131415
  1. $OpenBSD: patch-3rdparty_enricomath_h,v 1.1.1.1 2016/08/30 15:19:49 awolk Exp $
  2. --- 3rdparty/enricomath.h.orig Sun Jul 10 22:55:21 2016
  3. +++ 3rdparty/enricomath.h Sun Jul 10 23:03:34 2016
  4. @@ -286,8 +286,8 @@ class Matrix3
  5. #include <math.h>
  6. #include <stdio.h>
  7. -#if defined(Q_OS_WIN32) || defined(Q_OS_MAC)
  8. -//sincos is not defined in win32 and MAC
  9. +#if defined(Q_OS_WIN32) || defined(Q_OS_MAC) || defined(Q_OS_OPENBSD)
  10. +//sincos is not defined in win32, MAC and OpenBSD
  11. static inline void sincos(double th, double *s, double *c)
  12. {
  13. *s = sin(th);