1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 08:28:26 +02:00

- strttotime is compiled in on win32 again.

This commit is contained in:
Andi Gutmans
1999-07-27 17:30:45 +00:00
parent 88322d2ea0
commit 71ffa09f41
2 changed files with 2 additions and 6 deletions
-2
View File
@@ -94,9 +94,7 @@ function_entry basic_functions[] = {
#if HAVE_STRFTIME
PHP_FE(strftime, NULL)
#endif
#if !(WIN32|WINNT)
PHP_FE(strtotime, NULL)
#endif
PHP_FE(date, NULL)
PHP_FE(gmdate, NULL)
PHP_FE(getdate, NULL)
+2 -4
View File
@@ -65,9 +65,8 @@ static int phpday_tab[2][12] =
#define isleap(year) (((year%4) == 0 && (year%100)!=0) || (year%400)==0)
#if !(WIN32|WINNT)
extern PHPAPI time_t parsedate(char *p, struct timeval *now);
#endif
PHP_FUNCTION(time)
{
@@ -558,7 +557,6 @@ PHP_FUNCTION(strftime)
}
#endif
#if !(WIN32|WINNT)
/* {{{ proto int strtotime(string time, int now) */
PHP_FUNCTION(strtotime)
{
@@ -582,7 +580,7 @@ PHP_FUNCTION(strtotime)
RETURN_LONG(parsedate(timep->value.str.val, NULL));
}
}
#endif
/* }}} */
/*