summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Rapp <tobias.rapp@student.kit.edu>2013-08-19 12:48:00 +0200
committerTobias Rapp <tobias.rapp@student.kit.edu>2013-08-19 12:48:00 +0200
commit691630c2d9584ff19343cfd066455583770d5c76 (patch)
tree36aee8866e4a7763e44d1109e82f6c5f7a676a7e
parent3b22413eb4926b119bcc89071fe37f51784b1d3b (diff)
Fixed macros if GC_Threads is externally defined
-rw-r--r--include/gc_config_macros.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/gc_config_macros.h b/include/gc_config_macros.h
index 42743d5..48a84a8 100644
--- a/include/gc_config_macros.h
+++ b/include/gc_config_macros.h
@@ -125,7 +125,8 @@
#undef GC_PTHREADS
#if (!defined(GC_WIN32_THREADS) || defined(GC_WIN32_PTHREADS) \
- || defined(__CYGWIN32__) || defined(__CYGWIN__)) && defined(GC_THREADS)
+ || defined(__CYGWIN32__) || defined(__CYGWIN__)) && defined(GC_THREADS) \
+ && !defined(__OCTOPOS__)
/* Posix threads. */
# define GC_PTHREADS
#endif