summaryrefslogtreecommitdiff
path: root/setup_native
diff options
context:
space:
mode:
authorTomoyuki Kubota <himajin100000@gmail.com>2021-04-01 22:58:06 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2021-04-02 09:12:08 +0200
commit366cc40006f8bbc56b397399dd026f9fbb421552 (patch)
treec7be2ab56dda0ea218947b2b37621913d93aec9e /setup_native
parenta77612fe4710f5f003050d26dc923ef8466c7e30 (diff)
add back sal/macros.h for SAL_N_ELEMENTS
Change-Id: I5edb0632976e69530af38aaa334085796c103058 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113476 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'setup_native')
-rw-r--r--setup_native/source/win32/customactions/shellextensions/checkpatches.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup_native/source/win32/customactions/shellextensions/checkpatches.cxx b/setup_native/source/win32/customactions/shellextensions/checkpatches.cxx
index 0a879dc1b80e..9bad21377b0b 100644
--- a/setup_native/source/win32/customactions/shellextensions/checkpatches.cxx
+++ b/setup_native/source/win32/customactions/shellextensions/checkpatches.cxx
@@ -20,6 +20,9 @@
#include "shlxtmsi.hxx"
#include <strsafe.h>
#include <systools/win32/uwinapi.h>
+#ifdef DEBUG
+#include <sal/macros.h>
+#endif
#ifdef DEBUG
inline void OutputDebugStringFormatW( PCWSTR pFormat, ... )