Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #86 from therealgilles/bugfix/apple
Browse files Browse the repository at this point in the history
Fix typo on __APPLE__ in timer.h.
  • Loading branch information
beberlei authored Sep 15, 2019
2 parents 34b71f7 + 3dbaac1 commit c51e407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ static zend_always_inline uint64 time_milliseconds_tsc_query()
*/
static zend_always_inline uint64 time_milliseconds(int source, double timebase_factor)
{
#if defined(_APPLE__)
#if defined(__APPLE__)

return mach_absolute_time() / timebase_factor;
#elif defined(PHP_WIN32)
Expand Down

0 comments on commit c51e407

Please sign in to comment.