Quoting Russell Bryant <[EMAIL PROTECTED]>:

> Yeah, that sounds like a better check than the custom MSW define.
>
> If you wanted to take it a step further, it would be pretty trivial to add a
> check for snprintf to the configure script.  That way, when building  
>  Pd for .Net
>   or whatever (which I assume uses some other build system), the appropriate
> HAVE_SNPRINTF define will not be present.

the only problem with that i see is, that when building with .NET you  
usually do not do configure (once you have installed all the  
(gnu)tools to be able to run configure, you probably will want to use  
gcc instead of the .NET compiler)

one solution (which i use and which i don't really like) to this is to  
have a non-generated configMSW.h.

btw, is there a way to specify at compile-time which file to include?
something like:

#define CONFIG_H_FILE "config.h"

#ifdef CONFIG_H_FILE
# include CONFIG_H_FILE
#endif

(this won't work, but is there something similar?)


fgmasd.r
IOhannes

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



_______________________________________________
PD-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev

Reply via email to