File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE;
34
34
#include "zend.h"
35
35
#include "zend_operators.h"
36
36
#include "zend_globals.h"
37
+ #include "zend_highlight.h"
37
38
#include "zend_language_scanner.h"
38
39
39
40
#include "zend_API.h"
@@ -657,8 +658,9 @@ cgi_compile_file(zend_file_handle *h, int type TSRMLS_DC)
657
658
}
658
659
659
660
if (h -> type == ZEND_HANDLE_FP ) fclose (h -> handle .fp );
661
+ #ifdef ZEND_HANDLE_FD
660
662
if (h -> type == ZEND_HANDLE_FD ) close (h -> handle .fd );
661
-
663
+ #endif
662
664
/*
663
665
* Get file handler and free context
664
666
*/
@@ -667,10 +669,12 @@ cgi_compile_file(zend_file_handle *h, int type TSRMLS_DC)
667
669
h -> type = ZEND_HANDLE_FP ;
668
670
h -> handle .fp = default_file_handler -> get_fp (default_file_handler );
669
671
break ;
672
+ #ifdef ZEND_HANDLE_FD
670
673
case BEAST_FILE_HANDLER_FD :
671
674
h -> type = ZEND_HANDLE_FD ;
672
675
h -> handle .fd = default_file_handler -> get_fd (default_file_handler );
673
676
break ;
677
+ #endif
674
678
}
675
679
676
680
final :
You can’t perform that action at this time.
0 commit comments