Skip to content

Commit

Permalink
allows compilation with gcc-3.3
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7060 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Manolo Gouy authored and Manolo Gouy committed Feb 10, 2010
1 parent 96125e6 commit 881c882
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Fl_cocoa.mm
Expand Up @@ -53,7 +53,13 @@
#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>
Expand Down

0 comments on commit 881c882

Please sign in to comment.