crl_common_fp_exceptions.cpp 480 B

123456789101112131415161718192021
  1. // This file is part of Desktop App Toolkit,
  2. // a set of libraries for developing nice desktop applications.
  3. //
  4. // For license and copyright information please follow this link:
  5. // https://github.com/desktop-app/legal/blob/master/LEGAL
  6. //
  7. #include <crl/crl_time.h>
  8. #ifndef CRL_USE_WINAPI_TIME
  9. #include <float.h>
  10. namespace crl {
  11. void toggle_fp_exceptions(bool throwing) {
  12. // We activate them only on Windows right now.
  13. }
  14. } // namespace crl
  15. #endif // !CRL_USE_WINAPI_TIME