path: root/src/widgets
diff options
authorThiago Macieira <>2015-02-17 14:09:00 -0800
committerThiago Macieira <>2015-02-20 06:20:06 +0000
commit4e40b1952695f0b1086ef7b88e8514bd18cf96bf (patch)
tree81a8e500fbf26cbdc0be2e003f28def441b3ef66 /src/widgets
parent54b11268052dd2c481c326e3a8ba30ebdb44f0e4 (diff)
Remove __cdecl from Windows desktop atomics
winbase.h defines them without __cdecl, so we shouldn't add them ourselves to our forward declaration. Doing so results in errors if the user changed the default calling convention when compiling Qt: qatomic_msvc.h(126): error C2373: '_InterlockedIncrement' : redefinition; different type modifiers C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\intrin.h(242) : see declaration of '_InterlockedIncrement' Task-number: QTBUG-44028 Change-Id: I1a800c709d3543699131ffff13c3d09fe53ba28b Reviewed-by: Olivier Goffart (Woboq GmbH) <> Reviewed-by: Marc Mutz <>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions