summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>1999-07-22 07:27:12 +0000
committerBill Spitzak <spitzak@gmail.com>1999-07-22 07:27:12 +0000
commit0bb590c832fb50a6bcf40aecbae2cad918ebee94 (patch)
treebd7153ec8d97c9f0fd51207da8e5aed9623e52ba /FL
parentae621ef7787392b1214a4a662a9f70e7c3a74794 (diff)
Pragma added around xlib.h to shut up the IRIX compiler warnings
Fluid writes "class foo;" to the header and c file without prepending "extern" or "static". This patch also does this to "class foo bar;" which is wrong... Tabs draw very short labels. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/x.H10
1 files changed, 8 insertions, 2 deletions
diff --git a/FL/x.H b/FL/x.H
index 4404569b7..dfe79b7de 100644
--- a/FL/x.H
+++ b/FL/x.H
@@ -1,5 +1,5 @@
//
-// "$Id: x.H,v 1.10 1999/02/16 21:59:49 mike Exp $"
+// "$Id: x.H,v 1.10.2.1 1999/07/22 07:27:07 bill Exp $"
//
// X11 header file for the Fast Light Tool Kit (FLTK).
//
@@ -39,9 +39,15 @@
#else
+#ifdef __sgi
+#pragma set woff 3322
+#endif
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
+#ifdef __sgi
+#pragma reset woff 3322
+#endif
#include "Fl_Window.H"
FL_EXPORT void fl_open_display();
@@ -118,5 +124,5 @@ extern FL_EXPORT int fl_background_pixel; // hack into Fl_X::make_xid()
#endif
//
-// End of "$Id: x.H,v 1.10 1999/02/16 21:59:49 mike Exp $".
+// End of "$Id: x.H,v 1.10.2.1 1999/07/22 07:27:07 bill Exp $".
//