~ubuntu-branches/ubuntu/wily/wxwidgets3.0/wily-proposed

« back to all changes in this revision

Viewing changes to include/wx/setup_inc.h

  • Committer: Package Import Robot
  • Author(s): Olly Betts
  • Date: 2014-06-18 12:42:22 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140618124222-y7t2vpsije1cesxy
Tags: 3.0.1-1
* New upstream release
  + Incorporates most of the patches we were carrying - only one left is:
    wx-config-conditionalise-webview-in-std.patch
* Drop versioning of dependencies from run-time libraries to wx-common -
  this will make the transition to the next wx version harder, and also
  makes backporting to wheezy more work.
* Mark -dbg packages as "Multi-Arch: same".
* Correct short descriptions of the webview packages to not just be
  copies of the corresponding media package's short description.
* Wrap 81 character line in package description.

Show diffs side-by-side

added added

removed removed

Lines of Context:
264
264
 
265
265
// Enable the use of compiler-specific thread local storage keyword, if any.
266
266
// This is used for wxTLS_XXX() macros implementation and normally should use
267
 
// the compiler-provided support as it's simpler and more efficient, but must
268
 
// not use it if wxWidgets is used in a dynamically loaded Win32 (i.e. using
269
 
// LoadLibrary()/GetProcAddress()) as this triggers a bug in compiler TLS
270
 
// support that results in crashes when any TLS variables are used. So if you
271
 
// are building a Win32 DLL using wxWidgets that can be loaded dynamically, set
272
 
// this to 0.
273
 
//
274
 
// Default is 1, but set to 0 if the scenario above is applicable.
 
267
// the compiler-provided support as it's simpler and more efficient, but is
 
268
// disabled under Windows in wx/msw/chkconf.h as it can't be used if wxWidgets
 
269
// is used in a dynamically loaded Win32 DLL (i.e. using LoadLibrary()) under
 
270
// XP as this triggers a bug in compiler TLS support that results in crashes
 
271
// when any TLS variables are used.
 
272
//
 
273
// If you're absolutely sure that your build of wxWidgets is never going to be
 
274
// used in such situation, either because it's not going to be linked from any
 
275
// kind of plugin or because you only target Vista or later systems, you can
 
276
// set this to 2 to force the use of compiler TLS even under MSW.
 
277
//
 
278
// Default is 1 meaning that compiler TLS is used only if it's 100% safe.
 
279
//
 
280
// Recommended setting: 2 if you want to have maximal performance and don't
 
281
// care about the scenario described above.
275
282
#define wxUSE_COMPILER_TLS 1
276
283
 
277
284
// ----------------------------------------------------------------------------