浏览代码

ENH: Added platform identifier for QNXNTO. This partially addresses bug#3556.

Brad King 19 年之前
父节点
当前提交
e46829b3f1
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Source/cmMakefile.cxx

+ 3 - 0
Source/cmMakefile.cxx

@@ -1907,6 +1907,9 @@ void cmMakefile::AddDefaultDefinitions()
 #if defined(__APPLE__)
   this->AddDefinition("APPLE", "1");
 #endif
+#if defined(__QNXNTO__)
+  this->AddDefinition("QNXNTO", "1");
+#endif
 
   char temp[1024];
   sprintf(temp, "%d", cmMakefile::GetMinorVersion());