* msvc/ecl/config.msvc6: export ECL_WINDOWS_THREADS macro

* src/h/config.h: define GC_THREADS when using the garbage collector and threads.
This commit is contained in:
Juan Jose Garcia Ripoll 2009-10-01 16:04:13 +02:00
parent 5823093301
commit e3a8f6aec5
2 changed files with 6 additions and 2 deletions

View file

@ -61,6 +61,8 @@
#define ECL_THREADS @ECL_THREADS@
#if ECL_THREADS
# define GC_WIN32_THREADS
# define GC_THREADS
# define ECL_WINDOWS_THREADS
#else
# undef ECL_THREADS
#endif

View file

@ -74,10 +74,12 @@
#undef GBC_BOEHM
#ifdef GBC_BOEHM
# ifdef ECL_WINDOWS_THREADS
# define GC_WIN32_THREADS
# define GC_WIN32_THREADS /* For older versions */
# define GC_THREADS /* For >= 7.2 */
# else
# ifdef ECL_THREADS
# define GC_PTHREADS
# define GC_PTHREADS /* For older versions */
# define GC_THREADS /* For >= 7.2 */
# endif
# endif
# define ECL_DYNAMIC_VV