We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 984dd15 commit edfc21aCopy full SHA for edfc21a
openmp/runtime/src/include/omp-tools.h.var
@@ -211,6 +211,10 @@ typedef enum kmp_mutex_impl_t {
211
* definitions generated from spec
212
*****************************************************************************/
213
214
+#if defined(__cplusplus)
215
+extern "C" {
216
+#endif
217
+
218
typedef enum ompt_callbacks_t {
219
ompt_callback_thread_begin = 1,
220
ompt_callback_thread_end = 2,
@@ -1414,4 +1418,8 @@ typedef ompt_record_ompt_t *(*ompt_get_record_ompt_t) (
1414
1418
1415
1419
#define ompd_segment_none 0
1416
1420
1421
1422
+} // extern "C"
1423
1424
1417
1425
#endif /* __OMPT__ */
0 commit comments