Przeglądaj źródła

Fix the build for non-MS compilers.

Bill Hoffman 16 lat temu
rodzic
commit
ceac346af6
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      Modules/CMakePlatformId.h.in

+ 3 - 1
Modules/CMakePlatformId.h.in

@@ -98,9 +98,11 @@
 #  define ARCHITECTURE_ID "X86"
 #  define ARCHITECTURE_ID "X86"
 
 
 # else /* unknown architecture */
 # else /* unknown architecture */
-#  defined ARCHITECTURE_ID ""
+#  define ARCHITECTURE_ID ""
 # endif
 # endif
 
 
+#else
+#  define ARCHITECTURE_ID ""
 #endif
 #endif
 
 
 /* Construct the string literal in pieces to prevent the source from
 /* Construct the string literal in pieces to prevent the source from