hostsupport/hostopengles20/src/util.h
branchbug235_bringup_0
changeset 77 b0395290e61f
parent 55 09263774e342
--- a/hostsupport/hostopengles20/src/util.h	Fri Nov 12 17:56:05 2010 +0000
+++ b/hostsupport/hostopengles20/src/util.h	Mon Nov 15 09:56:25 2010 +0000
@@ -29,8 +29,17 @@
 #ifndef UTIL_H_
 #define UTIL_H_
 
+#ifdef __cplusplus
+extern "C"
+{
+#endif /* __cplusplus */
+
 int dglLog2(unsigned int x);
 int dglMin(int a, int b);
 int dglMax(int a, int b);
 
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
 #endif  // UTIL_H_