Qt: Guard GDBController class with an ifdef
Jeffrey Pfau jeffrey@endrift.com
Tue, 23 Dec 2014 23:00:24 -0800
1 files changed,
5 insertions(+),
0 deletions(-)
jump to
M
src/platform/qt/GDBController.h
→
src/platform/qt/GDBController.h
@@ -8,6 +8,8 @@ #define QGBA_GDB_CONTROLLER
#include <QObject> +#ifdef USE_GDB_STUB + extern "C" { #include "debugger/gdb-stub.h" }@@ -46,4 +48,7 @@ uint32_t m_bindAddress;
}; } + +#endif + #endif