diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-06-01 20:59:10 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-06-01 20:59:10 +0000 |
commit | edb11085302f80f38c9d976f003aa1c9002c7abb (patch) | |
tree | edfe9dcac670e9f47ee7fdee893130fcf86ba196 /src/support/win32/support.cpp | |
parent | 10a0bef720b6882fce588a10b07b0584d62eac76 (diff) |
Notes
Diffstat (limited to 'src/support/win32/support.cpp')
-rw-r--r-- | src/support/win32/support.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/support/win32/support.cpp b/src/support/win32/support.cpp index e989681a6d5f..dbd1c4c418aa 100644 --- a/src/support/win32/support.cpp +++ b/src/support/win32/support.cpp @@ -15,17 +15,6 @@ #include <cstring> // strcpy, wcsncpy #include <cwchar> // mbstate_t -// Some of these functions aren't standard or if they conform, the name does not. - -int asprintf(char **sptr, const char *__restrict format, ...) -{ - va_list ap; - va_start(ap, format); - int result; - result = vasprintf(sptr, format, ap); - va_end(ap); - return result; -} // Like sprintf, but when return value >= 0 it returns // a pointer to a malloc'd string in *sptr. |