summaryrefslogtreecommitdiff
path: root/sal/systools/win32
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2012-02-24 18:35:17 +0100
committerJan Holesovsky <kendy@suse.cz>2012-02-24 18:54:37 +0100
commit6cd8586f2332f2d8a87221452719c33ee0bb9d06 (patch)
treef4e186b1a6f80e627aeb8a9ad7226a5a4e25e05b /sal/systools/win32
parentf61d4545b5fdced396153fac405be75a697a640c (diff)
MinGW: snprintf might be present.
Diffstat (limited to 'sal/systools/win32')
-rw-r--r--sal/systools/win32/uwinapi/sntprintf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/systools/win32/uwinapi/sntprintf.c b/sal/systools/win32/uwinapi/sntprintf.c
index 424e5bd3a3a3..c519da3a0be6 100644
--- a/sal/systools/win32/uwinapi/sntprintf.c
+++ b/sal/systools/win32/uwinapi/sntprintf.c
@@ -40,6 +40,8 @@ static int __cdecl _vsctprintf( const _TXCHAR *format, va_list ap )
}
#endif
+#if !defined(__MINGW32__) || defined (__NO_ISOCEXT)
+
/* This function retrieves the pointer to the last character of a buffer.
That is the pointer to the last character of the buffer that fits
completly into that buffer or the position of the terminating zero.
@@ -122,4 +124,6 @@ _SNPRINTF_DLLIMPORT int __cdecl sntprintf( _TCHAR *buffer, size_t count, const _
return retval;
}
+#endif
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */