]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/win32/patches/wx2.patch
Restore win32 dir from Branch-5.2 and update it
[bacula/bacula] / bacula / src / win32 / patches / wx2.patch
1 --- ../release/wxWidgets-2.6.3/include/wx/string.h      2005-12-15 11:26:27.000000000 -0800
2 +++ ./include/wx/string.h       2006-07-31 20:50:32.000000000 -0700
3 @@ -229,7 +229,7 @@
4  #endif
5    // VC++ free must take place in same DLL as allocation when using non dll
6    // run-time library (e.g. Multithreaded instead of Multithreaded DLL)
7 -#if defined(__VISUALC__) && defined(_MT) && !defined(_DLL)
8 +#if 1 || defined(__VISUALC__) && defined(_MT) && !defined(_DLL)
9    void  Unlock() { if ( !IsEmpty() && --nRefs == 0) Free();  }
10    // we must not inline deallocation since allocation is not inlined
11    void  Free();
12 --- ../release/wxWidgets-2.6.3/src/common/string.cpp    2005-11-30 05:30:08.000000000 -0800
13 +++ ./src/common/string.cpp     2006-07-31 20:48:53.000000000 -0700
14 @@ -172,7 +172,7 @@
15  // wxStringData class deallocation
16  // ===========================================================================
17  
18 -#if defined(__VISUALC__) && defined(_MT) && !defined(_DLL)
19 +#if 1 || defined(__VISUALC__) && defined(_MT) && !defined(_DLL)
20  #  pragma message (__FILE__ ": building with Multithreaded non DLL runtime has a performance impact on wxString!")
21  void wxStringData::Free()
22  {