OSLib 6.11 Released
Jonathan Coxhead
jonathan at doves.demon.co.uk
Wed Sep 27 01:33:51 BST 2000
On 26 Sep 00, Ainsley Pereira wrote,
| this is allowed, and I have tried it:
| #define GLUE(s) #s
| #define OSLIB(header) GLUE(OSLib:header)
|
| // eg.
| #include OSLIB(types.h)
But that doesn't help!
You also need
#ifndef PREFIX
#define PREFIX "OSLib:"
#endif
and then use
#define OSLIB(header) GLUE (PREFIX header)
and if you do that, you'll find an extra space in the file name (which you
can't get rid of with ##, either).
/|
o o o (_|/
/|
(_/
More information about the oslib-user
mailing list