OSLib 6.11 Released

Ainsley Pereira marble at executor.karoo.co.uk
Mon Sep 25 19:56:52 BST 2000


In message <ec76a8034a.druck at druck.freeuk.net>
          David J. Ruck <druck at freeuk.com> wrote:

> On 21 Sep 2000 Tony van der Hoff <OSLib at mk-net.demon.co.uk> wrote:
> > OSLib Version 6.11 - Tony van der Hoff - 19/09/2000
> [Snip]
> > *  All #includes in the library headers now specify the OSLib: library
> > path to  avoid possible name clashes with other libraries.
> 
> This has caused considerable hassle for those of use who are building RISC OS
> applications on other platorms (either to use superior debugging tools or
> to build with cross compilers which aren't currently available for RISC OS).

Well, I find it useful. Nasty #defines time? I think you can do something like:

#define INC_PREFIX "OSLib:"  (or "" at your preference)

then

#include INC_PREFIX ## "header.h"

but I haven't actually tried it. (Or just make everyone on other platforms sed them ;) )

~a.

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



More information about the oslib-user mailing list