projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0168240
)
added extern "C" for C++
author
Brian Paul
<brian.paul@tungstengraphics.com>
Sun, 2 Mar 2003 19:38:24 +0000
(19:38 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Sun, 2 Mar 2003 19:38:24 +0000
(19:38 +0000)
src/mesa/main/imports.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/imports.h
b/src/mesa/main/imports.h
index 2f5c38f046de969cf2e5e5de1dd1115d6925de2e..0915fc7b821ee63ef733c202e375bad6117ff5e8 100644
(file)
--- a/
src/mesa/main/imports.h
+++ b/
src/mesa/main/imports.h
@@
-1,4
+1,4
@@
-/* $Id: imports.h,v 1.1
4 2003/03/02 19:36:09
brianp Exp $ */
+/* $Id: imports.h,v 1.1
5 2003/03/02 19:38:24
brianp Exp $ */
/*
* Mesa 3-D graphics library
@@
-35,6
+35,11
@@
#define IMPORTS_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/* XXX some of the stuff in glheader.h should be moved into this file.
*/
#include "glheader.h"
@@
-648,5
+653,9
@@
extern void
_mesa_init_default_imports( __GLimports *imports, void *driverCtx );
-#endif /* IMPORTS_H */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* IMPORTS_H */