OSLib 6.11 Released

Ainsley Pereira marble at executor.karoo.co.uk
Wed Sep 27 20:14:27 BST 2000


In message <200009270037.RAA22613 at purple.trimedia.sv.sc.philips.com>
          "Jonathan Coxhead" <jonathan at doves.demon.co.uk> wrote:

>    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!

It does if the OSLIB is inside the #ifdef instead of introducing PREFIX.
#if USE_PATH
#define OSLIB(header) GLUE(OSLib:header)
#else
#define OSLIB(header) ...whatever you want...
#endif

Anyway, it looks like some workable alternatives without preprocessor nasties like this are being discussed now.

~A.

PS. I have some code that reads stuff from SCSI tapes under linux. Written for a specific emergency, but not a complete mess as I was experimenting with some structural ideas for a more significant project. Mail me if you're interested.

-- 
 -----------------------------------------------------------
   / Ainsley Pereira       /   aka Marble on Snowplains   /
  /                       / telnet://snowplains.org:3456 /
 ------------------------------------------------------------



More information about the oslib-user mailing list