hostsupport/hostopengles20/src/platform.h
branchbug235_bringup_0
changeset 77 b0395290e61f
parent 55 09263774e342
--- a/hostsupport/hostopengles20/src/platform.h	Fri Nov 12 17:56:05 2010 +0000
+++ b/hostsupport/hostopengles20/src/platform.h	Mon Nov 15 09:56:25 2010 +0000
@@ -40,8 +40,17 @@
 	typedef pthread_mutex_t DGLES2_LOCK;
 #endif
 
+#ifdef __cplusplus
+extern "C"
+{
+#endif /* __cplusplus */
+
 void dglGetLock(void);
 void dglReleaseLock(void);
 
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
 #endif /* PLATFORM_H_ */