ayttm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ayttm-devel] buffer checks


From: Edward L. Haletky
Subject: Re: [Ayttm-devel] buffer checks
Date: 26 Mar 2003 07:01:15 -0600

Hi Andy,

I will give this a shot today. If it works then great.

-Edward

On Wed, 2003-03-26 at 03:25, Andy wrote:
> On Tuesday 25 March 2003 23:55, Edward L. Haletky wrote:
> > Hi,
> >
> > When using snprintf perhaps you could use g_snprintf instead as snprintf
> > does not exist on windows. Most of the re-porting effort was to put in
> > #ifdefs for this.
> 
> In my, uh, 'real work', I compile for Windows and Linux and I use the 
> following in a global header file GlobalDefs.h:
> 
> #ifdef WIN32
>         #ifndef snprintf
>                 #define snprintf        _snprintf
>         #endif
> 
>         #ifndef vsnprintf
>                 #define vsnprintf       _vsnprintf
>         #endif
> #endif
> 
> Just an alternate suggestion so we can avoid using g_sprintf [since we are 
> trying to get rid of glib dependence].
> 
> Andy
> 
> 
> _______________________________________________
> Ayttm-devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/ayttm-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]