From 61b94f7f0ba9c0569e036abcdb5d4216a50db8a8 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 7 Jun 2001 13:16:08 +0000 Subject: 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 --- FL/Fl_Pixmap.H | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/FL/Fl_Pixmap.H b/FL/Fl_Pixmap.H index fc8cc3b66..b663f755b 100644 --- a/FL/Fl_Pixmap.H +++ b/FL/Fl_Pixmap.H @@ -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 $". // -- cgit v1.2.3