mirror of https://github.com/fltk/fltk
Add #ifdef for SGI 5.3 C++ compiler, which doesn't support the
explicit keyword (hopefully it's the only one left...) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1465 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
2321fdd181
commit
61b94f7f0b
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
// "$Id: Fl_Pixmap.H,v 1.6.2.7 2001/06/06 19:42:56 easysw Exp $"
|
||||
// "$Id: Fl_Pixmap.H,v 1.6.2.8 2001/06/07 13:16:08 easysw Exp $"
|
||||
//
|
||||
// Pixmap header file for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
|
@ -29,6 +29,11 @@
|
|||
class Fl_Widget;
|
||||
struct Fl_Menu_Item;
|
||||
|
||||
// Older C++ compilers don't support the explicit keyword... :(
|
||||
#if defined(__sgi) && !defined(_COMPILER_VERSION)
|
||||
#define explicit
|
||||
#endif // __sgi && !_COMPILER_VERSION
|
||||
|
||||
struct Fl_Pixmap {
|
||||
const char * const * data;
|
||||
int w, h; // set by first draw...
|
||||
|
@ -48,5 +53,5 @@ struct Fl_Pixmap {
|
|||
#endif
|
||||
|
||||
//
|
||||
// End of "$Id: Fl_Pixmap.H,v 1.6.2.7 2001/06/06 19:42:56 easysw Exp $".
|
||||
// End of "$Id: Fl_Pixmap.H,v 1.6.2.8 2001/06/07 13:16:08 easysw Exp $".
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue