[openbeos] Re: ScreenSaver incompatability

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 05 Apr 2004 09:24:59 +0200 CEST

Michael Phipps <mphipps1@xxxxxxxxxxxxxxxx> wrote:
> So. I can go about this a couple of ways. 
> 1) I can have one header. That would break certain screensavers, but 
> would 
> make a lot of build and use sense. It would correct the weirdness on 
> a going 
> forward basis. The downside is that some screensavers would break.
> 2) I can make a duplicate header that has no underscores and build my 
> ScreenSaver prefs with it. That complicates our source tree but keeps 
> everything working.

Or three, have one file which exports the legacy R5 symbols in 
screen_blanker and the Screen preferences panel:

export "C" void ReservedScreenSaver1__12BScreenSaver();


And you're done. You just have to trick the linker, not the compiler.


Other related posts: