Opened 18 years ago

Closed 18 years ago

#1872 closed defect (fixed)

Windows build of php_mapscript broken in 4.10

Reported by: dmorissette Owned by: mapserverbugs
Priority: high Milestone:
Component: Build Problems Version: 4.10
Severity: normal Keywords:
Cc:

Description

The Windows build of php_mapscript 4.10.0-beta1 was breaking because of the
empty ZEND_BEGIN_MODULE_GLOBALS(phpms)/ZEND_END_MODULE_GLOBALS(phpms) block
(caused by bug 1322).

Change History (1)

comment:1 by dmorissette, 18 years ago

Resolution: fixed
Status: newclosed
Fixed in CVS by commenting out that block in a similar way to the way it is in
template files generated by the php extension skeleton scripts:

/* 
 * Declare any global variables you may need between the BEGIN
 * and END macros here after uncommenting the following lines and the 
 * ZEND_INIT_MODULE_GLOBALS() call in PHP_MINIT_FUNCTION() )
 */

/*
ZEND_BEGIN_MODULE_GLOBALS(phpms)
    int   global_value;
    char *global_string;
ZEND_END_MODULE_GLOBALS(phpms)

ZEND_DECLARE_MODULE_GLOBALS(phpms)

static void phpms_init_globals(zend_phpms_globals *phpms_globals)
{
    phpms_globals->global_value = 0;
    phpms_globals->global_string = NULL;
}
*/

Note: See TracTickets for help on using tickets.