Hi! > Something like the following? (it wasn't tested) > > > #define ACCELERATOR_VERSION_BASE "7.0.3" > #define ACCELERATOR_VERSION_SUFFIX "-dev" > > #iif PHP_EXTRA_VERSION > # define ACCELERATOR_VERSION ACCELERATOR_VERSION_BASE > ACCELERATOR_VERSION_SUFFIX > #else > # define ACCELERATOR_VERSION ACCELERATOR_VERSION_BASE " (" PHP_VERSION ")" > #endif
This would probably work fine. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php