mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-27 15:02:12 -08:00
* 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:
parent
5823093301
commit
e3a8f6aec5
2 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue