From: Brian Paul Date: Sun, 2 Mar 2003 19:38:24 +0000 (+0000) Subject: added extern "C" for C++ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a59ce9041df800936905f64287b82bc2d42d1c8b;p=mesa.git added extern "C" for C++ --- 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 */