diff options
author | Brad King <brad.king@kitware.com> | 2011-01-04 20:44:56 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2011-01-04 20:44:56 (GMT) |
commit | 79f5a7c0981757ed94fc618b2615cbc938254574 (patch) | |
tree | 734db19f1ae15f6c0b9a3f9b04f5196de5beab22 /Modules/CMakePlatformId.h.in | |
parent | 61063f12eb4dec062882f3fee1f65f045a2b9442 (diff) | |
parent | dbc79bd8c8d5b9ef078401064db9bb0554affbcf (diff) | |
download | CMake-79f5a7c0981757ed94fc618b2615cbc938254574.zip CMake-79f5a7c0981757ed94fc618b2615cbc938254574.tar.gz CMake-79f5a7c0981757ed94fc618b2615cbc938254574.tar.bz2 |
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.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakePlatformId.h.in b/Modules/CMakePlatformId.h.in index 1c63cca..cb3f40a 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 "]"; |