mirror of https://github.com/fltk/fltk
allows compilation with gcc-3.3
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7060 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
96125e6e4a
commit
881c882629
|
@ -53,7 +53,13 @@ extern "C" {
|
|||
#include <FL/x.H>
|
||||
#include <FL/Fl_Window.H>
|
||||
#include <FL/Fl_Tooltip.H>
|
||||
#if __GNUC__ == 3 // because Fl_Image.H uses a private variable name id that's illegal under GCC 3
|
||||
#define id id_
|
||||
#endif
|
||||
#include <FL/Fl_Sys_Menu_Bar.H>
|
||||
#ifdef id
|
||||
#undef id
|
||||
#endif
|
||||
#include <FL/Fl_Input_.H>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
Loading…
Reference in New Issue