Explorar o código

HPCC-27117 nlp plugin fails to build on osx

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman %!s(int64=3) %!d(string=hai) anos
pai
achega
5f65bf51dc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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