Browse Source

Fix the build for non-MS compilers.

Bill Hoffman 16 years ago
parent
commit
ceac346af6
1 changed files with 3 additions and 1 deletions
  1. 3 1
      Modules/CMakePlatformId.h.in

+ 3 - 1
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