Browse Source

singles: use Corrade's StlMath.h in MagnumMath.hpp.

pull/331/head
Vladimír Vondruš 7 years ago
parent
commit
2173668e09
  1. 10
      src/singles/MagnumMath.hpp

10
src/singles/MagnumMath.hpp

@ -21,7 +21,17 @@
*/
#include "base.h"
/* Put the contents of Corrade/Utility/StlMath.h here so it doesn't get
reordered */
#pragma ACME enable Corrade_Utility_StlMath_h
// {{includes}}
#include <ciso646>
#ifdef _GLIBCXX_USE_STD_SPEC_FUNCS
#undef _GLIBCXX_USE_STD_SPEC_FUNCS
#define _GLIBCXX_USE_STD_SPEC_FUNCS 0
#endif
// {{includes}}
#include <cmath>
#if (!defined(CORRADE_ASSERT) || !defined(CORRADE_CONSTEXPR_ASSERT) || !defined(CORRADE_INTERNAL_ASSERT_OUTPUT) || !defined(CORRADE_ASSERT_UNREACHABLE)) && !defined(NDEBUG)
#include <cassert>
#endif

Loading…
Cancel
Save