summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-11-08 10:20:01 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-11-08 12:37:45 +0100
commit725b7a37e760b660781b2d2740c6207559f01f44 (patch)
treeb5ec546fd3808d56eae805b33da47b09931b85c6
parent240581f7d7172d8ed1e5fa38a114b102fe626e25 (diff)
-Werror,-Wunused-macros (clang-cl)
Not sure why the unused-macro warning for isnan only started to show now that I build on Windows with clang-cl against MSVC 2019 (rather than 2017). The code was there ever since 16cba77220efab8204eeecb49ccd3ec033efca38 "#112673# initial checkin of HWP filter", but there appears to never have been any use of isnan at least in hwpfilter/ itself. Change-Id: Ib202da91806baf347bbaf1ac2a47bcc7f81bd868 Reviewed-on: https://gerrit.libreoffice.org/82271 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--hwpfilter/source/hcode.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/hwpfilter/source/hcode.cxx b/hwpfilter/source/hcode.cxx
index f67a4e777a96..fda36e0953ca 100644
--- a/hwpfilter/source/hcode.cxx
+++ b/hwpfilter/source/hcode.cxx
@@ -30,10 +30,6 @@
#include <stdlib.h>
#include <string.h>
#include <math.h>
-#ifdef _MSC_VER
-#include <float.h>
-#define isnan _isnan
-#endif
#include "hcode.h"
#include "ksc5601.h"