diff options
Diffstat (limited to 'sal/osl/w32/security.c')
-rw-r--r-- | sal/osl/w32/security.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sal/osl/w32/security.c b/sal/osl/w32/security.c index 237ea67dc949..1e0453c9cb2a 100644 --- a/sal/osl/w32/security.c +++ b/sal/osl/w32/security.c @@ -33,6 +33,7 @@ #include <osl/thread.h> #include <osl/file.h> #include <systools/win32/uwinapi.h> +#include <sal/macros.h> #include "secimpl.h" /*****************************************************************************/ @@ -756,7 +757,7 @@ static sal_Bool GetSpecialFolder(rtl_uString **strPath, int nFolder) &hRegKey) == ERROR_SUCCESS) { LONG lRet; - DWORD lSize = elementsof(PathA); + DWORD lSize = SAL_N_ELEMENTS(PathA); DWORD Type = REG_SZ; switch (nFolder) |