diff options
author | David Tardon <dtardon@redhat.com> | 2012-03-07 13:47:16 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-03-07 14:01:33 +0100 |
commit | 7daafe70db4188b2eb83e05792ff934fa574a927 (patch) | |
tree | 77f63253f3939afec9141c7a7c8e8c2ad27632f6 /sal | |
parent | 48b419ceb68c9bcf821e906a601f9b0c5e943200 (diff) |
suppress compiler error when building with -Werror
Return value of the function is set by the inline assembler code.
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/interlck.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/osl/w32/interlck.c b/sal/osl/w32/interlck.c index 5c9e566a4a2d..4737edc142f9 100644 --- a/sal/osl/w32/interlck.c +++ b/sal/osl/w32/interlck.c @@ -42,6 +42,10 @@ extern int osl_isSingleCPU; on every x86-Windows-Platform the inline assembler implementation. */ +#if defined __MINGW32__ +#pragma GCC diagnostic warning "-Wreturn-type" +#endif + /*****************************************************************************/ /* osl_incrementInterlockedCount */ /*****************************************************************************/ |