summaryrefslogtreecommitdiff
path: root/Modules/CMakePlatformId.h.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-11-21 09:39:30 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2009-11-21 09:39:30 -0500
commitceac346af6ebd4a48ea58db0dc64e10533ee9322 (patch)
treebb6d513ae7461ce2419c3631bf8d1e477a0b9902 /Modules/CMakePlatformId.h.in
parentd06ec80d0c7830123be08d7be2712d7c4ec87117 (diff)
downloadcmake-ceac346af6ebd4a48ea58db0dc64e10533ee9322.tar.gz
Fix the build for non-MS compilers.
Diffstat (limited to 'Modules/CMakePlatformId.h.in')
-rw-r--r--Modules/CMakePlatformId.h.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/CMakePlatformId.h.in b/Modules/CMakePlatformId.h.in
index 942946916f..e20348aac3 100644
--- a/Modules/CMakePlatformId.h.in
+++ b/Modules/CMakePlatformId.h.in
@@ -98,9 +98,11 @@
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
-# defined ARCHITECTURE_ID ""
+# define ARCHITECTURE_ID ""
# endif
+#else
+# define ARCHITECTURE_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from