Why not add a:

#define snprintf _snprintf

to the zend_config.w32.h file?  That should take care of the mentioned
compile problem under windows.

----- Original Message -----
From: "Andrei Zmievski" <[EMAIL PROTECTED]>
To: "Zeev Suraski" <[EMAIL PROTECTED]>
Cc: "php-dev mailinglist" <[EMAIL PROTECTED]>
Sent: Monday, March 12, 2001 6:09 AM
Subject: Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend_API.c zend_API.h


> Use zend_snprintf() instead or what?
>
> On Mon, 12 Mar 2001, Zeev Suraski wrote:
> > snprintf() isn't accessible in the Zend engine...
> >
> > Zeev
> >
> > At 08:43 12/3/2001, Sebastian Bergmann wrote:
> > >Andrei Zmievski wrote:
> > > > andrei          Mon Mar 12 05:08:29 2001 EDT
> > > >
> > > >   Modified files:
> > > >     /Zend       zend_API.c zend_API.h
> > > >   Log:
> > > >   Improve zend_is_callable() to the point where it's actually
useful.
> > > >   Now it just needs to be invoked everywhere in PHP where a callback
is
> > > >   expected.
> > >
> > >   This breaks the Win32 build:
> > >
> > >zend_API.c
> > >D:\Programme\MS Visual Studio\Projekte\php\php4\Zend\zend_API.c(958) :
> > >warning C4013: 'snprintf' undefiniert; Annahme: extern mit Rueckgabetyp
int
> > >
> > >ZendTS.lib(zend_API.obj) : error LNK2001: Nichtaufgeloestes externes
Symbol
> > >_snprintf
> > >..\Release_TS_inline\php4ts.dll : fatal error LNK1120: 1 unaufgeloeste
> > >externe Verweise
> > >
> > >--
> > >  sebastian bergmann         e-mail :
[EMAIL PROTECTED]
> > >                           homepage :
http://www.sebastian-bergmann.de
> > >                        make a gift :
http://wishlist.sebastian-bergmann.de
> > >  measure the usability of your web application ->
http://phpOpenTracker.de
> > >
> > >--
> > >PHP Development Mailing List <http://www.php.net/>
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: [EMAIL PROTECTED]
> > >To contact the list administrators, e-mail:
[EMAIL PROTECTED]
> >
> > --
> > Zeev Suraski <[EMAIL PROTECTED]>
> > CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/
> >
>
>
>
> -Andrei
>
> Any sufficiently advanced bug is
> indistinguishable from a feature.
>                 -- Rich Kulawiec
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to