gallium: wrap decls in extern "C"
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Sun, 23 Mar 2008 18:30:53 +0000 (18:30 +0000)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Sun, 23 Mar 2008 18:38:31 +0000 (18:38 +0000)
src/gallium/drivers/softpipe/sp_winsys.h

index fc372db..291825d 100644 (file)
 
 #include "pipe/p_compiler.h" /* for boolean */
 
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
 enum pipe_format;
 
 struct softpipe_winsys {
@@ -60,4 +66,8 @@ struct pipe_screen *
 softpipe_create_screen(struct pipe_winsys *);
 
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* SP_WINSYS_H */