Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Zend/zend_hrtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@

# define WIN32_LEAN_AND_MEAN

double zend_hrtime_timer_scale = .0;
ZEND_API double zend_hrtime_timer_scale = .0;

#elif ZEND_HRTIME_PLATFORM_APPLE

# include <mach/mach_time.h>
# include <string.h>
mach_timebase_info_data_t zend_hrtime_timerlib_info = {
ZEND_API mach_timebase_info_data_t zend_hrtime_timerlib_info = {
.numer = 0,
.denom = 1,
};
Expand Down
4 changes: 2 additions & 2 deletions Zend/zend_hrtime.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ BEGIN_EXTERN_C()

#if ZEND_HRTIME_PLATFORM_WINDOWS

extern double zend_hrtime_timer_scale;
ZEND_API extern double zend_hrtime_timer_scale;

#elif ZEND_HRTIME_PLATFORM_APPLE

# include <mach/mach_time.h>
# include <string.h>
extern mach_timebase_info_data_t zend_hrtime_timerlib_info;
ZEND_API extern mach_timebase_info_data_t zend_hrtime_timerlib_info;

#endif

Expand Down