On Mon, 2003-04-14 at 16:19, Jay Smith wrote:
> There are a few header files that you have to include with extern "C" so
> their names get mangled properly into C++. Try wrapping php.h, php_ini.h
> and info.h in extern "C" and see how that goes.
How come we don't have extern C wrapped in #ifdef __cplusplus in these
files already, so they can just be included straight away? Like this:
#ifdef __cplusplus
extern "C" {
#endif
// yadda yadda
#ifdef __cplusplus
};
#endif
--
Best regards,
Per Lundberg / Capio ApS
Phone: +46-18-4186040
Fax: +46-18-4186049
Web: http://www.nobolt.com