Browse Source

Merge pull request #15725 from richardkchapman/nlp-osx

HPCC-27117 nlp plugin fails to build on osx

Reviewed-By: David de Hilster <David.Dehilster@lexisnexisrisk.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 3 years ago
parent
commit
3f19b859dd
1 changed files with 1 additions and 1 deletions
  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