소스 검색

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