_fixes.hpp 380 B

123456789101112131415161718192021222324252627
  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