Undefine certain macros that collide with mingw definitions (src/h/config.h.in)

This commit is contained in:
Juan Jose Garcia Ripoll 2009-11-28 13:36:58 +01:00
parent 27440b1b1c
commit 1d1eb0038c

View file

@ -78,6 +78,14 @@
# endif
# define ECL_DYNAMIC_VV
# include "@ECL_BOEHM_GC_HEADER@"
/* GC >= 7.2 defines these macros to intercept thread functions, but
* in doing so it breaks mingw. */
# if defined(mingw32) && defined(_beginthreadex)
# undef _beginthread
# undef _endthread
# undef _beginthreadex
# undef _endthreadex
# end
#endif
/* Network streams */