瀏覽代碼

Merge pull request #10897 from ghalliday/issue19149

HPCC-19149 Fix windows build problems

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 7 年之前
父節點
當前提交
688d6a09e0
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 3 1
      CMakeLists.txt
  2. 1 0
      common/thorhelper/thorcommon.cpp

+ 3 - 1
CMakeLists.txt

@@ -176,7 +176,9 @@ elseif ( NOT MAKE_DOCS_ONLY )
     HPCC_ADD_SUBDIRECTORY (services "PLATFORM")
     HPCC_ADD_SUBDIRECTORY (thorlcr "PLATFORM")
     HPCC_ADD_SUBDIRECTORY (testing)
-    HPCC_ADD_SUBDIRECTORY (configuration)
+    if ( NOT WIN32 )
+        HPCC_ADD_SUBDIRECTORY (configuration)
+    endif()
 
     if ( WIN32 )
         HPCC_ADD_SUBDIRECTORY (clienttools/IDEPlugins "CLIENTTOOLS_ONLY")

+ 1 - 0
common/thorhelper/thorcommon.cpp

@@ -38,6 +38,7 @@
 #include "roxiemem.hpp"
 #include "thorstep.hpp"
 #include "roxiemem.hpp"
+#undef new
 
 #define ROWAGG_PERROWOVERHEAD (sizeof(AggregateRowBuilder))