浏览代码

HPCC-27117 nlp plugin fails to build on osx

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 3 年之前
父节点
当前提交
5f65bf51dc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/nlp/nlp_eng.cpp

+ 1 - 1
plugins/nlp/nlp_eng.cpp

@@ -17,7 +17,7 @@
 
 // NLP-ENGINE requires LINUX to be set for linux compiles.
 // The NLP-ENGINE needs to be updated to __linux__.
-#ifdef __linux__
+#if defined(__linux__) || defined(__APPLE__)
 #define LINUX 1
 #endif