Commit 0404ddae authored by marco.'s avatar marco.

MacOSX: compile error fix after r3329

parent 409d6e8e
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include "colors.h" #include "colors.h"
#include "base_struct.h" #include "base_struct.h"
#include <wx/overlay.h>
class EDA_DRAW_FRAME; class EDA_DRAW_FRAME;
class BASE_SCREEN; class BASE_SCREEN;
......
...@@ -46,6 +46,10 @@ ...@@ -46,6 +46,10 @@
#include "colors.h" #include "colors.h"
#include "common.h" #include "common.h"
#ifdef USE_WX_OVERLAY
#include <wx/overlay.h>
#endif
// C++ guarantees that operator delete checks its argument for null-ness // C++ guarantees that operator delete checks its argument for null-ness
#ifndef SAFE_DELETE #ifndef SAFE_DELETE
#define SAFE_DELETE( p ) delete (p); (p) = NULL; #define SAFE_DELETE( p ) delete (p); (p) = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment