diff options
author | Edin Kadribasic <edink@php.net> | 2002-06-23 23:22:33 +0000 |
---|---|---|
committer | Edin Kadribasic <edink@php.net> | 2002-06-23 23:22:33 +0000 |
commit | 2183565321121e54fa4119b8be5f8173d1448aa7 (patch) | |
tree | 28f17ddb5b0fdd022675484024ca9acaff3eb929 /win32/time.c | |
parent | 8a0459235272a2cfcecdcca327e434af41fd6326 (diff) | |
download | php-git-2183565321121e54fa4119b8be5f8173d1448aa7.tar.gz |
Allow dynamically compiled extensions to use gettimeofday() on win32.
Diffstat (limited to 'win32/time.c')
-rw-r--r-- | win32/time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/time.c b/win32/time.c index 710307574d..9f07fab862 100644 --- a/win32/time.c +++ b/win32/time.c @@ -44,7 +44,7 @@ __int64 ff; -int gettimeofday(struct timeval *time_Info, struct timezone *timezone_Info) +PHPAPI int gettimeofday(struct timeval *time_Info, struct timezone *timezone_Info) { static struct timeval starttime = {0, 0}; @@ -186,7 +186,7 @@ LPTIMECALLBACK setitimer_timeout(UINT uTimerID, UINT info, DWORD dwUser, DWORD d return 0; } -int setitimer(int which, const struct itimerval *value, struct itimerval *ovalue) +PHPAPI int setitimer(int which, const struct itimerval *value, struct itimerval *ovalue) { int timeout = value->it_value.tv_sec * 1000 + value->it_value.tv_usec; int repeat = TIME_ONESHOT; |