[comp.windows.interviews] patch for compiling beta with cfront 2.1

linton@marktwain.rad.sgi.com (Mark Linton) (04/19/91)

This fixes a problem that causes cfront 2.1 to complain bitterly about event.h.

*** /tmp/,RCSt1a07183	Wed Apr 17 16:49:43 1991
--- iv/src/include/InterViews/event.h	Wed Apr 17 16:47:50 1991
***************
*** 92,102 ****
--- 92,110 ----
      virtual Handler* grabber();
      virtual boolean is_grabbing(Handler*);
  
+ #ifdef cplusplus_2_1
+     virtual Type type();
+ #else
      virtual Event_Type type();
+ #endif
      virtual unsigned long time();
      virtual Coord pointer_x();
      virtual Coord pointer_y();
+ #ifdef cplusplus_2_1
+     virtual PointerButton pointer_button();
+ #else
      virtual Event_PointerButton pointer_button();
+ #endif
      virtual unsigned int keymask();
      virtual boolean control_is_down();
      virtual boolean meta_is_down();