summaryrefslogtreecommitdiff
path: root/main/php_reentrancy.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-11-30 20:46:07 +0000
committerSascha Schumann <sas@php.net>1999-11-30 20:46:07 +0000
commitcfc7e27a7fb0a36258a3d791a7f5593b38cb865c (patch)
tree3379d82f0c008177899f05219b226df4d511ce3b /main/php_reentrancy.h
parent3a176301214a0129461c947ace061906f9136aa0 (diff)
downloadphp-git-cfc7e27a7fb0a36258a3d791a7f5593b38cb865c.tar.gz
Add PHPAPI for Windows.
Diffstat (limited to 'main/php_reentrancy.h')
-rw-r--r--main/php_reentrancy.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/main/php_reentrancy.h b/main/php_reentrancy.h
index fe5fd011a4..d9cffb11a3 100644
--- a/main/php_reentrancy.h
+++ b/main/php_reentrancy.h
@@ -36,38 +36,38 @@
#if !defined(HAVE_LOCALTIME_R) && defined(HAVE_LOCALTIME)
#define PHP_NEED_REENTRANCY 1
#define localtime_r php_localtime_r
-struct tm *localtime_r(const time_t *const timep, struct tm *p_tm);
+PHPAPI struct tm *localtime_r(const time_t *const timep, struct tm *p_tm);
#endif
#if !defined(HAVE_CTIME_R) && defined(HAVE_CTIME)
#define PHP_NEED_REENTRANCY 1
#define ctime_r php_ctime_r
-char *ctime_r(const time_t *clock, char *buf);
+PHPAPI char *ctime_r(const time_t *clock, char *buf);
#endif
#if !defined(HAVE_ASCTIME_R) && defined(HAVE_ASCTIME)
#define PHP_NEED_REENTRANCY 1
#define asctime_r php_asctime_r
-char *asctime_r(const struct tm *tm, char *buf);
+PHPAPI char *asctime_r(const struct tm *tm, char *buf);
#endif
#if !defined(HAVE_GMTIME_R) && defined(HAVE_GMTIME)
#define PHP_NEED_REENTRANCY 1
#define gmtime_r php_gmtime_r
-struct tm *gmtime_r(const time_t *const timep, struct tm *p_tm);
+PHPAPI struct tm *gmtime_r(const time_t *const timep, struct tm *p_tm);
#endif
#if !defined(HAVE_STRTOK_R)
#define strtok_r php_strtok_r
-char *strtok_r(char *s, const char *delim, char **last);
+PHPAPI char *strtok_r(char *s, const char *delim, char **last);
#endif
#if !defined(HAVE_RAND_R)
#define rand_r php_rand_r
-int rand_r(unsigned int *seed);
+PHPAPI int rand_r(unsigned int *seed);
#endif
#if !defined(ZTS)