From 156031114c735bb3745abfa9418dea44442d833d Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Thu, 3 Jun 2004 15:06:57 +0000 Subject: [PATCH] Added C++ Krempel :-) [r3010] --- ir/common/firm.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ir/common/firm.h b/ir/common/firm.h index 0e6ffb8d2..ee7aa40b8 100644 --- a/ir/common/firm.h +++ b/ir/common/firm.h @@ -65,6 +65,10 @@ # ifndef _FIRM_H_ # define _FIRM_H_ +#ifdef __cplusplus +extern "C" { +#endif + /* The representations */ # include "firm_common.h"/* common type tags. */ # include "irprog.h" /* control flow and data of a program */ @@ -114,4 +118,8 @@ void init_firm (default_initialize_local_variable_func_t *func); */ void free_firm (void); +#ifdef __cplusplus +} +#endif + # endif /* _FIRM_H_ */ -- 2.20.1