summaryrefslogtreecommitdiffstats
path: root/include/astra/Globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/astra/Globals.h')
-rw-r--r--include/astra/Globals.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/astra/Globals.h b/include/astra/Globals.h
index fdeaa23..9c8ddfb 100644
--- a/include/astra/Globals.h
+++ b/include/astra/Globals.h
@@ -306,4 +306,11 @@ _AstraExport inline bool cudaEnabled() { return false; }
#endif
+//----------------------------------------------------------------------------------------
+// use pthreads on Linux and OSX
+#if defined(__linux__) || defined(__MACH__)
+#define USE_PTHREADS
+#endif
+
+
#endif