From 6d350fb13fff5b4fc496725cc2d771a7640e2f11 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolai=20H=C3=A4hnle?= Date: Sun, 8 May 2016 14:53:53 -0500 Subject: [PATCH] r600: protect r600_isa.h with extern "C" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák Reviewed-by: Bas Nieuwenhuizen --- src/gallium/drivers/r600/r600_isa.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/gallium/drivers/r600/r600_isa.h b/src/gallium/drivers/r600/r600_isa.h index b3f49bd..005b580 100644 --- a/src/gallium/drivers/r600/r600_isa.h +++ b/src/gallium/drivers/r600/r600_isa.h @@ -29,6 +29,10 @@ #include "util/u_debug.h" +#ifdef __cplusplus +extern "C" { +#endif + /* ALU flags */ enum alu_op_flags { @@ -1236,4 +1240,8 @@ r600_isa_cf_by_opcode(struct r600_isa* isa, unsigned opcode, unsigned is_alu) { return op - 1; } +#ifdef __cplusplus +} /* extern "C" */ +#endif + #endif /* R600_ISA_H_ */ -- 2.7.4