
10 Apr
2006
10 Apr
'06
5:10 a.m.
On Saturday 08 April 2006 20:18, Roland Schwarz wrote:
I am wondering if it would be possible to write a computed include macro that is sufficiently compiler independent?
E.e. given a macro
#define BOOST_PLATFORM_INCLUDE(hdr) ... definition missing ...
which should be usable as:
#include BOOST_PLATFORM(foo.h)
Roland, I'm not sure if that will help you, but I know that STLport uses a similar technique to include native headers (i.e. the compiler's string.h from their string.h), I think the macro is called _STLP_NATIVE_INCLUDE_PATH or something like that. Uli