summaryrefslogtreecommitdiff
path: root/Modules/CMakePlatformId.h.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-01-04 15:44:56 -0500
committerCMake Topic Stage <kwrobot@kitware.com>2011-01-04 15:44:56 -0500
commit79f5a7c0981757ed94fc618b2615cbc938254574 (patch)
tree734db19f1ae15f6c0b9a3f9b04f5196de5beab22 /Modules/CMakePlatformId.h.in
parent61063f12eb4dec062882f3fee1f65f045a2b9442 (diff)
parentdbc79bd8c8d5b9ef078401064db9bb0554affbcf (diff)
downloadcmake-79f5a7c0981757ed94fc618b2615cbc938254574.tar.gz
Merge topic 'compiler-id-literal-const'
dbc79bd Fix constness in compiler id detection
Diffstat (limited to 'Modules/CMakePlatformId.h.in')
-rw-r--r--Modules/CMakePlatformId.h.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakePlatformId.h.in b/Modules/CMakePlatformId.h.in
index 1c63cca16b..cb3f40a1f5 100644
--- a/Modules/CMakePlatformId.h.in
+++ b/Modules/CMakePlatformId.h.in
@@ -109,6 +109,6 @@
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
-char* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
-char* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
+char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
+char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";