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 87029c6 commit 6c04d9eCopy full SHA for 6c04d9e
platform/mbed_power_mgmt.h
@@ -68,7 +68,7 @@ extern "C" {
68
void sleep_tracker_lock(const char *const filename, int line);
69
void sleep_tracker_unlock(const char *const filename, int line);
70
71
-#if defined(__CC_ARM) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050))
+#if defined(__CC_ARM)
72
#define __FILENAME__ __MODULE__
73
#elif defined(__GNUC__)
74
#define __FILENAME__ (__builtin_strrchr(__FILE__, '/') ? __builtin_strrchr(__FILE__, '/') + 1 : __builtin_strrchr(__FILE__, '\\') ? __builtin_strrchr(__FILE__, '\\') + 1 : __FILE__)
0 commit comments