msvc: update bitcoin_config.h defines #22843

pull fanquake wants to merge 1 commits into bitcoin:master from fanquake:update_msvc_bitcoin_configg changing 1 files +4 −129
  1. fanquake commented at 11:45 AM on August 31, 2021: member

    While not many of these are used, some, like HAVE_DLLEXPORT_ATTRIBUTE, are used when creating libbitcoinconsensus.

    Given this file is static, also just remove everything that is commented out.

  2. fanquake added the label Windows on Aug 31, 2021
  3. fanquake requested review from sipsorcery on Aug 31, 2021
  4. sipsorcery approved
  5. sipsorcery commented at 1:25 PM on August 31, 2021: member

    tACK.

    Builds fine for me on Windows 10.

    I was also unable to find any reference to the defines below in the source code when doing a Windows build. I was able to build with them removed.

    LT_OBJDIR
    PACKAGE_STRING
    PACKAGE_TARNAME
    
    #if defined AC_APPLE_UNIVERSAL_BUILD
    # if defined __BIG_ENDIAN__
    #  define WORDS_BIGENDIAN 1
    # endif
    #else
    # ifndef WORDS_BIGENDIAN
    /* #  undef WORDS_BIGENDIAN */
    # endif
    #endif
    
    _FILE_OFFSET_BITS
    STDC_HEADERS
    
  6. msvc: update bitcoin_config.h defines
    While not many of these are used, some, like HAVE_DLLEXPORT_ATTRIBUTE, are used
    when creating libbitcoinconsensus.
    
    Given this file is static, also just remove everything that is commented out.
    ae4ad1a125
  7. fanquake force-pushed on Sep 2, 2021
  8. fanquake commented at 3:15 AM on September 2, 2021: member

    @sipsorcery thanks. Added some more removals.

  9. sipsorcery commented at 7:32 AM on September 2, 2021: member

    tACK ae4ad1a1259886fe32a447749700fc132f387930.

  10. fanquake merged this on Sep 2, 2021
  11. fanquake closed this on Sep 2, 2021

  12. fanquake deleted the branch on Sep 2, 2021
  13. sidhujag referenced this in commit 084d17065c on Sep 2, 2021
  14. DrahtBot locked this on Sep 2, 2022
Contributors
Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 03:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me