diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-09-30 15:05:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-10-04 06:51:29 +0000 |
commit | 974b7fe6dfa8935a2068365e416b8d886f9d2a32 (patch) | |
tree | 2e7c05cc5f67f691098bb871f26374271e3e6370 /include/systools | |
parent | 480f6916eff8636fbf6b980a604c6e19a099df08 (diff) |
clang-cl loplugin: sal
Change-Id: If04d3f07dc8bffac8887773b5424c09848cd8f1a
Reviewed-on: https://gerrit.libreoffice.org/29404
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/systools')
-rw-r--r-- | include/systools/win32/snprintf.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/systools/win32/snprintf.h b/include/systools/win32/snprintf.h index 62abfc8a11a6..4342add2f76d 100644 --- a/include/systools/win32/snprintf.h +++ b/include/systools/win32/snprintf.h @@ -49,8 +49,8 @@ # endif -#ifndef _SNPRINTF_DLLIMPORT -#define _SNPRINTF_DLLIMPORT __declspec( dllimport ) +#ifndef LO_SNPRINTF_DLLIMPORT +#define LO_SNPRINTF_DLLIMPORT __declspec( dllimport ) #endif #ifdef __cplusplus @@ -73,10 +73,10 @@ extern "C" { #if _MSC_VER < 1900 /* UNICODE version */ -_SNPRINTF_DLLIMPORT int __cdecl snwprintf( wchar_t *buffer, size_t count, const wchar_t *format, ... ); +LO_SNPRINTF_DLLIMPORT int __cdecl snwprintf( wchar_t *buffer, size_t count, const wchar_t *format, ... ); /* SBCS and MBCS version */ -_SNPRINTF_DLLIMPORT int __cdecl snprintf( char *buffer, size_t count, const char *format, ... ); +LO_SNPRINTF_DLLIMPORT int __cdecl snprintf( char *buffer, size_t count, const char *format, ... ); #endif |