From: Gabe Black Date: Sat, 10 Sep 2011 09:31:15 +0000 (-0700) Subject: PseudoInst: Add compiler guards to pseudo_inst.hh. X-Git-Tag: stable_2012_02_02~92 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a2b223112d60e4efe14fcf9863a14cde93df82e;p=gem5.git PseudoInst: Add compiler guards to pseudo_inst.hh. --- diff --git a/src/sim/pseudo_inst.hh b/src/sim/pseudo_inst.hh index aec3b5d8a..25ecbc029 100644 --- a/src/sim/pseudo_inst.hh +++ b/src/sim/pseudo_inst.hh @@ -28,6 +28,9 @@ * Authors: Nathan Binkert */ +#ifndef __SIM_PSEUDO_INST_HH__ +#define __SIM_PSEUDO_INST_HH__ + class ThreadContext; //We need the "Tick" and "Addr" data types from here @@ -68,3 +71,5 @@ void workbegin(ThreadContext *tc, uint64_t workid, uint64_t threadid); void workend(ThreadContext *tc, uint64_t workid, uint64_t threadid); } // namespace PseudoInst + +#endif // __SIM_PSEUDO_INST_HH__