From 2087484c65a3d5e75a9e8ad116d11a4e13366219 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 16 Feb 2016 14:14:43 +0200 Subject: use consistent #define checks for the Windows platform stage 2 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro In this stage we focus on replacing usage of the WIN macro Change-Id: Ie8a4a63198a6de96bd158ecd707dadafb9c8ea84 Reviewed-on: https://gerrit.libreoffice.org/22393 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/sal/mathconf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sal') diff --git a/include/sal/mathconf.h b/include/sal/mathconf.h index 30895b696bb0..5ef63221f67d 100644 --- a/include/sal/mathconf.h +++ b/include/sal/mathconf.h @@ -54,7 +54,7 @@ extern "C" { problems, the SAL_MATH_FPEXCEPTIONS_OFF macro can be used to explicitly switch off exceptions (on Windows). */ -#if defined WNT +#if defined(_WIN32) #define SAL_MATH_FPEXCEPTIONS_OFF() _control87( _MCW_EM, _MCW_EM ) #else /* WNT */ #define SAL_MATH_FPEXCEPTIONS_OFF() -- cgit