Skip to content
Snippets Groups Projects
  1. Jun 28, 2016
  2. Apr 09, 2015
  3. Apr 08, 2015
  4. Nov 03, 2014
    • Chuck Atkins's avatar
      liblzma: fix build on platforms with no SIZE_MAX defined. · 996f8229
      Chuck Atkins authored
      Some systems don't define a SIZE_MAX (older versions of HP-UX with aCC).
      The logic was already in place to account for this condition but
      SIZEOF_SIZE_T was not getting cmoputed at configure time to allow it to
      function.  This computes sizeof(size_t) at configure time to allow the
      appropriate logic to work.  It also changes SIZEOF_SIZE_T to SIZE_OF_SIZE_T
      for consistency.
      996f8229
  5. Oct 20, 2014
    • Ben Boeckel's avatar
      Avoid if() quoted auto-dereference · 29c3edb8
      Ben Boeckel authored
      When testing CMAKE_<LANG>_COMPILER_ID values, do not explicitly
      dereference or quote the variable. We want if() to auto-dereference the
      variable and not its value. Also replace MATCHES with STREQUAL where
      equivalent.
      29c3edb8
  6. Oct 15, 2014
  7. Sep 02, 2014
  8. Aug 04, 2014
    • Chuck Atkins's avatar
      liblzma: Fix compilation with PGI compiler · 2dd17a54
      Chuck Atkins authored and Brad King's avatar Brad King committed
      - sha265.c is using some C99 specific features, in particular static
      array dimensions in a function parameter array (see section 6.7.5-7
      of the C99 spec).  A #ifndef check was in place to prevent compilation
      under MSVC but it actually needed to check for C99 compliance instead.
      Even still, the C99 code fails on a few compilers (PGI being one) so for
      compatibility reasons, the C99 version of the function declaration is
      removed entirely, leaving only the C89 version.
      
      - CHECK_SYMBOL_EXISTS is used to determine the presense of bswap
      functions from byteswap.h.  Most compilers re-dedefine the bswap_N
      functions as a __bswap_N function implemented by the compiler.  Since
      bswap_N is usually defined as a macro then it's mere presence passes
      the check.  Some versions of the PGI compiler though have shipped
      broken headers for byteswap.h, in particular 11.3 for x64 linux
      provides byteswap.h but is missing an associated bits/byteswap.h which
      causes some of the bswap_N macros to be defined but broken and unusable.
      The bswap_N checks have been converted to CHECK_SOURCE_COMPILES to
      ensure that the bswap_N calls are actually usable and not just merely
      defined.
      2dd17a54
  9. Jul 29, 2014
  10. Jul 23, 2014
Loading