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 7f01fd5 commit bab3fc9Copy full SHA for bab3fc9
perf_counter.h
@@ -188,16 +188,18 @@ __asm(".global __ensure_systick_wrapper\n\t");
188
# define CONNECT PERFC_CONNECT
189
#endif
190
191
-#ifndef using
192
-# define using perfc_using
193
-#endif
194
-
195
-#ifndef with
196
-# define with perfc_with
197
198
199
-#ifndef foreach
200
-# define foreach perfc_foreach
+#ifndef __cplusplus
+ #ifndef using
+ # define using perfc_using
+ #endif
+
+ #ifndef with
+ # define with perfc_with
+ #ifndef foreach
201
+ # define foreach perfc_foreach
202
203
204
/*! @} */
205
0 commit comments