_fixes.hpp 407 B

12345678910111213141516171819202122232425262728
  1. #include <cmath>
  2. //! Workaround for compatibility with other libraries
  3. #ifdef max
  4. #undef max
  5. #endif
  6. //! Workaround for compatibility with other libraries
  7. #ifdef min
  8. #undef min
  9. #endif
  10. //! Workaround for Android
  11. #ifdef isnan
  12. #undef isnan
  13. #endif
  14. //! Workaround for Android
  15. #ifdef isinf
  16. #undef isinf
  17. #endif
  18. //! Workaround for Chrone Native Client
  19. #ifdef log2
  20. #undef log2
  21. #endif