exclude CreatePidFile() function on WIN32 as it is unused #2855

pull Diapolo wants to merge 1 commits into bitcoin:master from Diapolo:guard_CreatePidFile changing 3 files +5 −1
  1. Diapolo commented at 8:32 AM on July 24, 2013: none

    No description provided.

  2. exclude CreatePidFile() function on WIN32 as it is unused a034c7ebb6
  3. BitcoinPullTester commented at 9:00 AM on July 24, 2013: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/a034c7ebb6995c342fea289d04a6198d793eab08 for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.

  4. Diapolo commented at 12:48 PM on July 24, 2013: none

    This should fix problems some people with mingw-64 compilers have.

    <pre> In file included from alert.h:13:0, from alert.cpp:11: util.h:211:57: error: 'pid_t' has not been declared void CreatePidFile(const boost::filesystem::path &path, pid_t pid); </pre>

    I know error and fix seem not to match, but as we don't ever user CreatePidFile() on Windows it seems cleaner to avoid compilation of that function as to define pid_t for Windows.

  5. sipa commented at 12:48 PM on July 24, 2013: member

    ACK

  6. gavinandresen referenced this in commit e622f3f195 on Aug 5, 2013
  7. gavinandresen merged this on Aug 5, 2013
  8. gavinandresen closed this on Aug 5, 2013

  9. IntegralTeam referenced this in commit 241f76f9bf on Jun 4, 2019
  10. DrahtBot locked this on Sep 8, 2021

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-21 18:16 UTC

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