Просмотр исходного кода

Fix the build for non-MS compilers.

Bill Hoffman 16 лет назад
Родитель
Сommit
ceac346af6
1 измененных файлов с 3 добавлено и 1 удалено
  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