diff options
-rw-r--r-- | libstdc++/stl/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++/stl/stl_config.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libstdc++/stl/ChangeLog b/libstdc++/stl/ChangeLog index 43f3079f4b4..c574129cb47 100644 --- a/libstdc++/stl/ChangeLog +++ b/libstdc++/stl/ChangeLog @@ -1,3 +1,8 @@ +1999-12-14 Mumit Khan <khan@xraylith.wisc.edu> + + * stl_config.h (__MINGW32__): Define __STL_WIN32THREADS for thread + safe runtime. + 1999-11-10 Benjamin Kosnik <bkoz@haight.constant.com> Matthias Klose <doko@cs.tu-berlin.de> diff --git a/libstdc++/stl/stl_config.h b/libstdc++/stl/stl_config.h index d72f9e1c746..bffce401def 100644 --- a/libstdc++/stl/stl_config.h +++ b/libstdc++/stl/stl_config.h @@ -201,6 +201,9 @@ # if defined(__MINGW32__) # define __STL_NO_DRAND48 +# ifdef _MT +# define __STL_WIN32THREADS +# endif # endif # if defined(__CYGWIN__) |