summaryrefslogtreecommitdiff
path: root/sal/systools/win32/uwinapi/sntprintf.c
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-09-25 12:17:25 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-09-25 12:17:25 +0000
commit5dc27e109aeca5aa39984f0b53515aba8277e880 (patch)
treec2a24341f8b5e661b1abb4f23fe37183577de971 /sal/systools/win32/uwinapi/sntprintf.c
parent0f9e2daf836bd85bd2920250425f73108987ffd8 (diff)
INTEGRATION: CWS obo05 (1.3.532); FILE MERGED
2006/06/28 10:24:22 obo 1.3.532.1: #i53611# .net 2005
Diffstat (limited to 'sal/systools/win32/uwinapi/sntprintf.c')
-rw-r--r--sal/systools/win32/uwinapi/sntprintf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sal/systools/win32/uwinapi/sntprintf.c b/sal/systools/win32/uwinapi/sntprintf.c
index 0a225f108427..6fce189840bc 100644
--- a/sal/systools/win32/uwinapi/sntprintf.c
+++ b/sal/systools/win32/uwinapi/sntprintf.c
@@ -6,6 +6,10 @@
#include <tchar.h>
#include <systools/win32/snprintf.h>
+#if defined(_MSC_VER) && (_MSC_VER >= 1400)
+#pragma warning(disable:4273) // inconsistent dll linkage
+#endif
+
#if _MSC_VER < 1300
/* The non-debug versions of _vscprintf/_scprintf are just calls
@@ -109,4 +113,3 @@ _SNPRINTF_DLLIMPORT int __cdecl sntprintf( _TCHAR *buffer, size_t count, const _
return retval;
}
-