1. 28 7月, 2015 1 次提交
  2. 16 7月, 2015 12 次提交
  3. 26 6月, 2015 12 次提交
  4. 25 6月, 2015 1 次提交
    • C
      Fix definition of ARRAY_SIZE for non-gcc builds · e2c6f7cd
      Charles Bailey 提交于
      The improved ARRAY_SIZE macro uses BARF_UNLESS_AN_ARRAY which expands
      to a valid check for recent gcc versions and to 0 for older gcc
      versions but is not defined on non-gcc builds.
      
      Non-gcc builds need this macro to expand to 0 as well. The current outer
      test (defined(__GNUC__) && (__GNUC__ >= 3)) is a strictly weaker
      condition than the inner test (GIT_GNUC_PREREQ(3, 1)) so we can omit the
      outer test and cause the BARF_UNLESS_AN_ARRAY macro to be defined
      correctly on non-gcc builds as well as gcc builds with older versions.
      Signed-off-by: NCharles Bailey <cbailey32@bloomberg.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      e2c6f7cd
  5. 18 6月, 2015 1 次提交
  6. 17 6月, 2015 13 次提交