Re: [Boost-bugs] [Boost C++ Libraries] #8070: prefer GetTickCount64 over GetTickCount

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8070: prefer GetTickCount64 over GetTickCount
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-12-04 19:53:53

#8070: prefer GetTickCount64 over GetTickCount
  Reporter: alex@… | Owner: viboes
      Type: Bugs | Status: reopened
 Milestone: Boost 1.55.0 | Component: thread
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords:

Comment (by tcourtney):

 I have a question about this issue and the proposed solution. We compile
 our software on Windows 7 but want the binaries to be compatible for all
 versions of Windows. It seems that any solution for this issue that
 relies on #ifdef, #define to determine the OS properties is only valid for
 the OS that the software was compiled on. I don't see how a solution
 based on static, compile time #ifdef logic could support both GetTickCount
 for XP and GetTickCount64 for Windows 7 using the same binary. This
 #ifdef fix only makes it possible to compile the code on XP or Windows7.
 But that doesn't fix the issue for my company because we need to release
 the same binary for XP and Windows 7.

Ticket URL: <>
Boost C++ Libraries <>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC