summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-11-21 14:39:30 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-11-21 14:39:30 (GMT)
commitceac346af6ebd4a48ea58db0dc64e10533ee9322 (patch)
treebb6d513ae7461ce2419c3631bf8d1e477a0b9902
parentd06ec80d0c7830123be08d7be2712d7c4ec87117 (diff)
downloadCMake-ceac346af6ebd4a48ea58db0dc64e10533ee9322.zip
CMake-ceac346af6ebd4a48ea58db0dc64e10533ee9322.tar.gz
CMake-ceac346af6ebd4a48ea58db0dc64e10533ee9322.tar.bz2
Fix the build for non-MS compilers.
-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 9429469..e20348a 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