mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-09 01:15:40 +00:00
tcg/tcg-op.h: Add multiple include guard
The tcg-op.h header was missing the usual guard against multiple inclusion; add it. (Spotted by lgtm.com's static analyzer.) Backports commit a7ce790a029bd94eb320d8c69f38900f5233997e from qemu
This commit is contained in:
parent
fc354aa464
commit
78906db067
|
@ -22,6 +22,9 @@
|
|||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef TCG_TCG_OP_H
|
||||
#define TCG_TCG_OP_H
|
||||
|
||||
#include "tcg.h"
|
||||
#include "exec/helper-proto.h"
|
||||
#include "exec/helper-gen.h"
|
||||
|
@ -1275,3 +1278,5 @@ static inline void tcg_gen_trunc_ptr_i32(TCGContext *s, TCGv_i32 r, TCGv_ptr a)
|
|||
|
||||
#undef PTR
|
||||
#undef NAT
|
||||
|
||||
#endif /* TCG_TCG_OP_H */
|
||||
|
|
Loading…
Reference in a new issue