diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-06-07 13:16:08 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-06-07 13:16:08 +0000 |
| commit | 61b94f7f0ba9c0569e036abcdb5d4216a50db8a8 (patch) | |
| tree | d3400001d88b995b654eb1383d2e4996848f7678 | |
| parent | 2321fdd18145115c614349856e263d2e178c4232 (diff) | |
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
| -rw-r--r-- | FL/Fl_Pixmap.H | 9 |
1 files 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 $". // |
