Module: Mesa Branch: master Commit: e74b3e570a6a4d42577912e9d37ca60771df2c9d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e74b3e570a6a4d42577912e9d37ca60771df2c9d
Author: Louis-Francis Ratté-Boulianne <[email protected]> Date: Sat Apr 25 16:24:41 2020 -0400 wgl: Wrap stw_pixelformat.h into extern C Reviewed-by: Charmaine Lee <[email protected]> Reviewed-by: Erik Faye-Lund <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7535> --- src/gallium/frontends/wgl/stw_pixelformat.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/gallium/frontends/wgl/stw_pixelformat.h b/src/gallium/frontends/wgl/stw_pixelformat.h index 25e265a12bb..4a5e83fd275 100644 --- a/src/gallium/frontends/wgl/stw_pixelformat.h +++ b/src/gallium/frontends/wgl/stw_pixelformat.h @@ -38,6 +38,10 @@ #include "pipe/p_format.h" #include "frontend/api.h" +#ifdef __cplusplus +extern "C" { +#endif + struct stw_pixelformat_info { PIXELFORMATDESCRIPTOR pfd; @@ -68,4 +72,8 @@ stw_pixelformat_choose( HDC hdc, int stw_pixelformat_get(HDC hdc); +#ifdef __cplusplus +} +#endif + #endif /* STW_PIXELFORMAT_H */ _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
