Fix the return macro on Windows
authorJan Vorlicek <janvorli@microsoft.com>
Thu, 16 Apr 2015 23:35:47 +0000 (01:35 +0200)
committerJan Vorlicek <janvorli@microsoft.com>
Thu, 16 Apr 2015 23:35:47 +0000 (01:35 +0200)
commitcf30541e86f27348d9fe132b88d82bda211ab867
treef0228e47469c37f3674a8a3eedc24fe697af7cd4
parentd067efd6c54ff66cca85b96eefbcdcc3bad4ecb4
Fix the return macro on Windows

There seems to be a bug in the VC++ compiler that causes the
following error to occur:
ex.cpp(492): fatal error C1061: compiler limit : blocks nested too deeply
There seems to be no nesting when I look at preprocessed source of the ex.cpp
and it builds fine on Unix.
To make the Windows build happy, I have left the return macro definition
for MSVC as it was before my change and only changed it for other compilers.
src/inc/debugreturn.h