MacOSX: compile error fix after r3329
This commit is contained in:
parent
409d6e8ea2
commit
0404ddae29
|
@ -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 @@
|
||||||
#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;
|
||||||
|
|
Loading…
Reference in New Issue