> Not a FLTK call, but someone (Ian?) posted such code for all platforms
> some time ago.

This is a common need and trivial to code. Why not make it an FLTK class? 
Something like this...

class Fl_OS
{public:
  const char* Platform(); // Windows|Mac OS X|Linux|Other
  const int Bits(); // 32|64
  onnst char* Cpu(); // Intel|PPC
  const int Cores(); // 1|2|4|8
  const bool BigEndian(); // T|F
};




_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to