From: Timothy Arceri Date: Fri, 10 Mar 2017 02:28:53 +0000 (+1100) Subject: util/u_queue: make u_queue accessible to cpp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13d69a85197f6bd57a12e1f9c5ccb6ae0b5431ce;p=mesa.git util/u_queue: make u_queue accessible to cpp Reviewed-by: Marek Olšák --- diff --git a/src/util/u_queue.h b/src/util/u_queue.h index 0073890cf3c..4aec1f20471 100644 --- a/src/util/u_queue.h +++ b/src/util/u_queue.h @@ -38,6 +38,10 @@ #include "util/list.h" #include "util/u_thread.h" +#ifdef __cplusplus +extern "C" { +#endif + /* Job completion fence. * Put this into your job structure. */ @@ -106,4 +110,8 @@ util_queue_fence_is_signalled(struct util_queue_fence *fence) return fence->signalled != 0; } +#ifdef __cplusplus +} +#endif + #endif