src/h/config.h.in: define only GC_THREADS. Supposedly the garbage collector with define GC_PTHREADS, GC_WIN32_THREADS, etc, depending on the compiler and platform.

This commit is contained in:
Juan Jose Garcia Ripoll 2009-10-05 18:31:25 +02:00
parent a5d5c7d3f6
commit dafd831fef

View file

@ -73,17 +73,8 @@
/* Use Boehm's garbage collector */
#undef GBC_BOEHM
#ifdef GBC_BOEHM
# ifdef ECL_WINDOWS_THREADS
# define GC_WIN32_THREADS /* For older versions */
# ifdef ECL_THREADS
# define GC_THREADS /* For >= 7.2 */
# else
# ifdef ECL_THREADS
# define GC_PTHREADS /* For older versions */
# define GC_THREADS /* For >= 7.2 */
# ifdef __APPLE__ /* For older versions */
# define GC_DARWIN_THREADS
# endif
# endif
# endif
# define ECL_DYNAMIC_VV
# include "@ECL_BOEHM_GC_HEADER@"