From bde072e0a9229e4e1b03eb797c1a772e42293b89 Mon Sep 17 00:00:00 2001 From: Bracket- Date: Tue, 6 Jan 2015 19:54:12 -0500 Subject: [PATCH] DSPSpy: Fix build failures - Remove dangling #endif include guard from #pragma once conversion - Enable C++0x support for nullptr support --- Source/DSPSpy/Makefile | 2 +- Source/DSPSpy/dsp_interface.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/DSPSpy/Makefile b/Source/DSPSpy/Makefile index e0b8a0bc89..cbf9f85dfa 100644 --- a/Source/DSPSpy/Makefile +++ b/Source/DSPSpy/Makefile @@ -33,7 +33,7 @@ INCLUDES := include ../Core/Common . #--------------------------------------------------------------------------------- CFLAGS = -save-temps -O2 -Wall --no-strict-aliasing $(MACHDEP) $(INCLUDE) -CXXFLAGS = $(CFLAGS) +CXXFLAGS = -std=c++0x $(CFLAGS) LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map diff --git a/Source/DSPSpy/dsp_interface.h b/Source/DSPSpy/dsp_interface.h index 1a726b4479..c0bea15793 100644 --- a/Source/DSPSpy/dsp_interface.h +++ b/Source/DSPSpy/dsp_interface.h @@ -32,5 +32,3 @@ public: // the implementation does nothing but calling the virtual methods above. void SendTask(void *addr, u16 iram_addr, u16 len, u16 start); }; - -#endif // _DSP_INTERFACE_H