From a59ce9041df800936905f64287b82bc2d42d1c8b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 2 Mar 2003 19:38:24 +0000 Subject: [PATCH] added extern "C" for C++ --- src/mesa/main/imports.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index 2f5c38f046d..0915fc7b821 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/main/imports.h @@ -1,4 +1,4 @@ -/* $Id: imports.h,v 1.14 2003/03/02 19:36:09 brianp Exp $ */ +/* $Id: imports.h,v 1.15 2003/03/02 19:38:24 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -35,6 +35,11 @@ #define IMPORTS_H +#ifdef __cplusplus +extern "C" { +#endif + + /* XXX some of the stuff in glheader.h should be moved into this file. */ #include "glheader.h" @@ -648,5 +653,9 @@ extern void _mesa_init_default_imports( __GLimports *imports, void *driverCtx ); -#endif /* IMPORTS_H */ +#ifdef __cplusplus +} +#endif + +#endif /* IMPORTS_H */ -- 2.30.2