mirror of
https://github.com/php/php-src.git
synced 2025-08-20 17:34:35 +02:00
- fix bug #61504, fix build errors on windows and possibly other
This commit is contained in:
parent
c8ced8c0a3
commit
74ee335e3a
3 changed files with 7432 additions and 7430 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* Generated by re2c 0.13.5 on Wed Feb 15 17:38:31 2012 */
|
/* Generated by re2c 0.13.5 on Wed Mar 28 01:54:21 2012 */
|
||||||
#line 1 "Zend/zend_language_scanner.l"
|
#line 1 "Zend/zend_language_scanner.l"
|
||||||
/*
|
/*
|
||||||
+----------------------------------------------------------------------+
|
+----------------------------------------------------------------------+
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Generated by re2c 0.13.5 on Wed Feb 15 17:38:31 2012 */
|
/* Generated by re2c 0.13.5 on Wed Mar 28 01:54:21 2012 */
|
||||||
#line 3 "Zend/zend_language_scanner_defs.h"
|
#line 3 "Zend/zend_language_scanner_defs.h"
|
||||||
|
|
||||||
enum YYCONDTYPE {
|
enum YYCONDTYPE {
|
||||||
|
|
|
@ -92,6 +92,7 @@ private const char *file_or_stream(struct magic_set *, const char *, php_stream
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* XXX this functionality is excluded in php, enable it in apprentice.c:340 */
|
/* XXX this functionality is excluded in php, enable it in apprentice.c:340 */
|
||||||
|
#if 0
|
||||||
private const char *
|
private const char *
|
||||||
get_default_magic(void)
|
get_default_magic(void)
|
||||||
{
|
{
|
||||||
|
@ -215,6 +216,7 @@ magic_getpath(const char *magicfile, int action)
|
||||||
|
|
||||||
return action == FILE_LOAD ? get_default_magic() : MAGIC;
|
return action == FILE_LOAD ? get_default_magic() : MAGIC;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
public struct magic_set *
|
public struct magic_set *
|
||||||
magic_open(int flags)
|
magic_open(int flags)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue