home *** CD-ROM | disk | FTP | other *** search
/ Programming Win32 Under the API / ProgrammingWin32UnderTheApiPatVillani.iso / patches / gcc-2_95_2-x86-win32-patches.zi / gcc-2.95.2-patches / broken-down / gcc-2.95.2-win32-stl-alloc.diff < prev    next >
Encoding:
Text File  |  1999-11-08  |  706 b   |  23 lines

  1. Mon Nov  1 22:02:40 1999  Mumit Khan  <khan@xraylith.wisc.edu>
  2.  
  3.     * stl_config.h (__MINGW32__): Define __STL_WIN32THREADS for thread
  4.     safe runtime.
  5.  
  6. Index: gcc-2.95.2/libstdc++/stl/stl_config.h
  7. ===================================================================
  8. RCS file: /homes/khan/src/CVSROOT/gcc-2.95.2/libstdc++/stl/stl_config.h,v
  9. retrieving revision 1.1.1.1
  10. diff -u -3 -p -r1.1.1.1 stl_config.h
  11. --- gcc-2.95.2/libstdc++/stl/stl_config.h    1999/11/05 01:10:20    1.1.1.1
  12. +++ gcc-2.95.2/libstdc++/stl/stl_config.h    1999/11/05 08:48:33
  13. @@ -201,6 +201,9 @@
  14.  
  15.  # if defined(__MINGW32__)
  16.  #   define __STL_NO_DRAND48
  17. +#   ifdef _MT
  18. +#     define __STL_WIN32THREADS
  19. +#   endif
  20.  # endif
  21.  
  22.  # if defined(__CYGWIN__)
  23.