aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/Version.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/core/Version.h')
-rw-r--r--arm_compute/core/Version.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/arm_compute/core/Version.h b/arm_compute/core/Version.h
index be3f0264bb..44d400bad8 100644
--- a/arm_compute/core/Version.h
+++ b/arm_compute/core/Version.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020 ARM Limited.
+ * Copyright (c) 2020 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -27,12 +27,12 @@
#include <string>
/* Macro utilities */
-#define STRINGIFY2(s) #s
-#define STRINGIFY(s) STRINGIFY2(s)
+#define ARM_COMPUTE_STRINGIFY2(s) #s
+#define ARM_COMPUTE_STRINGIFY(s) ARM_COMPUTE_STRINGIFY2(s)
-#define ARM_COMPUTE_VERSION_STR \
- STRINGIFY(ARM_COMPUTE_VERSION_MAJOR) \
- "." STRINGIFY(ARM_COMPUTE_VERSION_MINOR) "." STRINGIFY(ARM_COMPUTE_VERSION_PATCH)
+#define ARM_COMPUTE_VERSION_STR \
+ ARM_COMPUTE_STRINGIFY(ARM_COMPUTE_VERSION_MAJOR) \
+ "." ARM_COMPUTE_STRINGIFY(ARM_COMPUTE_VERSION_MINOR) "." ARM_COMPUTE_STRINGIFY(ARM_COMPUTE_VERSION_PATCH)
namespace arm_compute
{
@@ -45,4 +45,7 @@ namespace arm_compute
std::string build_information();
} // namespace arm_compute
+#undef ARM_COMPUTE_STRINGIFY
+#undef ARM_COMPUTE_STRINGIFY2
+
#endif /* ARM_COMPUTE_LIBRARY_VERSION_H */