Suggestions

Ainsley Pereira marble at executor.karoo.co.uk
Fri Apr 21 19:12:45 BST 2000


Hi,

Might I suggest putting "OSLibInclude:" in all the #includes in oslib to
prevent them clashing with user supplied headers?

Also, wrapping the typedef int bool; line in types.h with a

#if !defined(__cplusplus) || defined(__GNUC__)
typedef int bool;
#elif defined(__GNUC__)
#define __swi()
#endif

...would save me having to do it every time I download a new version:-)
(Apologies if the defines it relies on aren't quite right, I just #if
0/#else it for my own use).

Ta,
Ainsley

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



More information about the oslib-user mailing list