diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 5c7f65998..69d7eb47e 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -94,19 +94,8 @@ extern "C" { #include #include #include -#if __GNUC__ == 3 -// because Fl_Image.H, included by Fl_Sys_Menu_Bar.H, uses a private variable name id -// that's illegal under GCC 3 -x -objective-c++ -#define id id_ -// because Fl_Bitmap.H and Fl_Pixmap.H included by Fl_Printer.H don't compile with gcc3 and objective-c++ -#define Fl_Bitmap_H -#define Fl_Pixmap_H -#endif #include #include -#ifdef id -#undef id -#endif #include #include #include