Module: Mesa Branch: master Commit: d260348130853dd2aa7d87e03cdcd25e8ad39676 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d260348130853dd2aa7d87e03cdcd25e8ad39676
Author: Brian Paul <[email protected]> Date: Mon Dec 15 16:46:46 2014 -0700 st/mesa: add extern "C" to st_program.h Reviewed-by: Anuj Phogat <[email protected]> Reviewed-by: Jose Fonseca <[email protected]> --- src/mesa/state_tracker/st_program.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/mesa/state_tracker/st_program.h b/src/mesa/state_tracker/st_program.h index cf1b40a..870d0d5 100644 --- a/src/mesa/state_tracker/st_program.h +++ b/src/mesa/state_tracker/st_program.h @@ -41,6 +41,11 @@ #include "st_glsl_to_tgsi.h" +#ifdef __cplusplus +extern "C" { +#endif + + /** Fragment program variant key */ struct st_fp_variant_key { @@ -347,4 +352,8 @@ extern void st_print_current_vertex_program(void); +#ifdef __cplusplus +} +#endif + #endif _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
