diff dw.h @ 2000:77e43d71eaa7

Changes to allow mixing C and C++ when including dw.h. Win: Fixes to the last commit for embedding chromium based Edge.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 31 Oct 2019 08:26:58 +0000
parents d83a86f5fe7f
children a17cc1958369
line wrap: on
line diff
--- a/dw.h	Thu Oct 31 07:01:35 2019 +0000
+++ b/dw.h	Thu Oct 31 08:26:58 2019 +0000
@@ -3,6 +3,10 @@
 #ifndef _H_DW
 #define _H_DW
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* Dynamic Windows version numbers */
 #define DW_MAJOR_VERSION 3
 #define DW_MINOR_VERSION 0
@@ -1818,4 +1822,8 @@
 void API _dw_init_thread(void);
 void API _dw_deinit_thread(void);
 
+#ifdef __cplusplus
+}
 #endif
+
+#endif