diff options
Diffstat (limited to 'ext/date/php_date.h')
-rw-r--r-- | ext/date/php_date.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/date/php_date.h b/ext/date/php_date.h index 1d8a378686..cadb99ba0c 100644 --- a/ext/date/php_date.h +++ b/ext/date/php_date.h @@ -37,12 +37,8 @@ PHP_FUNCTION(mktime); PHP_FUNCTION(gmmktime); PHP_FUNCTION(checkdate); - -#ifdef HAVE_STRFTIME PHP_FUNCTION(strftime); PHP_FUNCTION(gmstrftime); -#endif - PHP_FUNCTION(time); PHP_FUNCTION(localtime); PHP_FUNCTION(getdate); @@ -207,10 +203,10 @@ ZEND_END_MODULE_GLOBALS(date) PHPAPI zend_long php_parse_date(char *string, zend_long *now); PHPAPI void php_mktime(INTERNAL_FUNCTION_PARAMETERS, int gmt); PHPAPI int php_idate(char format, time_t ts, int localtime); -#if HAVE_STRFTIME + #define _php_strftime php_strftime + PHPAPI void php_strftime(INTERNAL_FUNCTION_PARAMETERS, int gm); -#endif PHPAPI zend_string *php_format_date(char *format, size_t format_len, time_t ts, int localtime); /* Mechanism to set new TZ database */ |