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 0eaaab6 commit 485b60fCopy full SHA for 485b60f
src/internal.h
@@ -732,17 +732,20 @@ extern bool _dispatch_memory_warn;
732
#endif // HAVE_SYS_GUARDED_H
733
734
735
-#if DISPATCH_PURE_C
736
-
737
#if DISPATCH_USE_DTRACE || DISPATCH_USE_DTRACE_INTROSPECTION
738
typedef struct dispatch_trace_timer_params_s {
739
int64_t deadline, interval, leeway;
740
} *dispatch_trace_timer_params_t;
741
+#ifdef __cplusplus
+extern "C++" {
742
+#endif
743
#include "provider.h"
744
745
+}
746
747
+#endif // DISPATCH_USE_DTRACE || DISPATCH_USE_DTRACE_INTROSPECTION
748
#endif // DISPATCH_USE_DTRACE || DISPATCH_USE_DTRACE_INTROSPECTION
-#endif // DISPATCH_PURE_C
749
750
#if __has_include(<sys/kdebug.h>)
751
#include <sys/kdebug.h>
0 commit comments