From 4d84507c9616fb0f650d10e29052465780af9fca Mon Sep 17 00:00:00 2001 From: Peter Tissen Date: Sun, 8 Jun 2014 16:58:40 +0200 Subject: [PATCH] try include guards to circumvent a weird error with gcc and unity builds --- rpcs3/Emu/Cell/PPUThread.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/PPUThread.h b/rpcs3/Emu/Cell/PPUThread.h index a88ba21060..c7cdef1bf3 100644 --- a/rpcs3/Emu/Cell/PPUThread.h +++ b/rpcs3/Emu/Cell/PPUThread.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef PPUTHREAD_H +#define PPUTHREAD_H #include "Emu/Cell/PPCThread.h" #include "Emu/SysCalls/SysCalls.h" #include "rpcs3.h" @@ -861,3 +862,4 @@ protected: }; PPUThread& GetCurrentPPUThread(); +#endif //PPUTHREAD_H