1. 09 May, 2021 1 commit
    • Ralph Giles's avatar
      Set _USE_MATH_DEFINES for MSVC builds. · c7b63a76
      Ralph Giles authored
      Add this define to lib/os.h and test/util.c so M_PI is available
      when building with Microsoft's math.h. On other systems, it's
      typically enabled by default, e.g. through __USE_XOPEN or __USE_GNU.
      
      We already had a fallback definition of M_PI in os.h which was
      used by the core library, but not included in the test harness,
      which failed to compile under CMake and MSVC.
      
      Using the system define should be more consistent.
      
      Based on a patch by Ozkan Sezer.
      c7b63a76
  2. 20 Feb, 2021 1 commit
  3. 06 Nov, 2020 2 commits
  4. 26 Oct, 2020 1 commit
  5. 20 Jul, 2020 3 commits
  6. 04 Jul, 2020 9 commits
  7. 03 Jul, 2020 14 commits
  8. 02 Jul, 2020 1 commit
  9. 16 Jun, 2020 1 commit
    • Ralph Giles's avatar
      autotools: Use AC_CANONICAL_HOST · 5fd186e2
      Ralph Giles authored
      
      
      We were calling AC_CANONICAL_TARGET in configure.ac under the
      mistaken impression that this allowed setting the target
      architecture for cross-compilation output.
      
      However, in GNU terminology the system type that this the
      target of cross-compilation is the "host" and "target"
      is reserved for setting what the output of the compiled
      application should itself target, when compiling a
      cross-compiler. Finally "build" is the system type the
      build system is itself running under.
      
      So to cross-compile, one invokes `./configure --host ...`
      not `--target`.
      
      In any case, we only make use of the `host` variable,
      so that is the macro we need to invoke to provide it.
      
      Thanks to Maarten Bosmans for reporting the issue.
      Signed-off-by: Marvin Scholz's avatarMarvin Scholz <epirat07@gmail.com>
      5fd186e2
  10. 13 Jun, 2020 1 commit
  11. 10 Jun, 2020 3 commits
  12. 15 Apr, 2020 3 commits