aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe/p_refcnt.h
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2009-03-09 12:58:16 +0100
committerMichel Dänzer <[email protected]>2009-03-09 12:58:16 +0100
commita2aedf95d8f6ea7ecff3dc2c2f8db4a20e42e9d0 (patch)
tree410e183c4c8f9a1db3a4c9530771fcfea48d71ca /src/gallium/include/pipe/p_refcnt.h
parent9438ffda50c3823b57dbd7e6b3a195a5cd927198 (diff)
gallium: Fix p_refcnt.h for C++ compilers.
Diffstat (limited to 'src/gallium/include/pipe/p_refcnt.h')
-rw-r--r--src/gallium/include/pipe/p_refcnt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_refcnt.h b/src/gallium/include/pipe/p_refcnt.h
index 50b7aa90ef8..27b4e8fbfed 100644
--- a/src/gallium/include/pipe/p_refcnt.h
+++ b/src/gallium/include/pipe/p_refcnt.h
@@ -80,5 +80,8 @@ pipe_reference(struct pipe_reference **ptr, struct pipe_reference *reference)
return destroy;
}
+#ifdef __cplusplus
+}
+#endif
#endif /* P_REFCNT_H */