[PD-dev] snprintf vs. sprintf_s?

Miller Puckette mpuckett at imusic1.ucsd.edu
Thu Jan 17 05:21:05 CET 2008


Sounds right.  I'll put that on the 0.42 dolist :)

M

On Wed, Jan 16, 2008 at 05:33:26PM -0600, Russell Bryant wrote:
> Miller Puckette wrote:
> > OTOH, I like the idea of just supplying a spoofed config.h - comes in at
> > just the level of irony that's fitting in the situation.
> 
> That makes the most sense to me.  I guess all of the source files could include 
> "config.h", and config.h could be ...
> 
> #ifdef _MSC_VER
> #include "config_windows.h"
> #else
> #include "config_autoconf.h"
> #endif
> 
> and then change config.h.in to be config_autoconf.h.in, and change 
> AC_CONFIG_HEADERS() in configure.in to point to config_autoconf.h.in, as well.
> 
> That way, you can have a hand made config_windows.h that include the logic for 
> working with a non-GNU build environment, and we can still handle things 
> automagically for other platforms.
> 
> --
> Russell Bryant
> 
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev




More information about the Pd-dev mailing list