summaryrefslogtreecommitdiff
path: root/win32/time.h
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2002-06-23 23:22:33 +0000
committerEdin Kadribasic <edink@php.net>2002-06-23 23:22:33 +0000
commit2183565321121e54fa4119b8be5f8173d1448aa7 (patch)
tree28f17ddb5b0fdd022675484024ca9acaff3eb929 /win32/time.h
parent8a0459235272a2cfcecdcca327e434af41fd6326 (diff)
downloadphp-git-2183565321121e54fa4119b8be5f8173d1448aa7.tar.gz
Allow dynamically compiled extensions to use gettimeofday() on win32.
Diffstat (limited to 'win32/time.h')
-rw-r--r--win32/time.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/win32/time.h b/win32/time.h
index 457d4fa9e0..f0514ebe59 100644
--- a/win32/time.h
+++ b/win32/time.h
@@ -15,6 +15,7 @@
/* Include stuff ************************************************************ */
#include <winsock.h>
#include <time.h>
+#include <php.h>
/* Struct stuff ************************************************************* */
struct timezone {
@@ -34,10 +35,10 @@ struct itimerval {
#define ITIMER_PROF 2 /*generates sigprof */
/* Prototype stuff ********************************************************** */
-extern int gettimeofday(struct timeval *time_Info, struct timezone *timezone_Info);
+PHPAPI extern int gettimeofday(struct timeval *time_Info, struct timezone *timezone_Info);
/* setitimer operates at 100 millisecond resolution */
-extern int setitimer(int which, const struct itimerval *value,
+PHPAPI extern int setitimer(int which, const struct itimerval *value,
struct itimerval *ovalue);
#endif