2011-09-22 21:10:18 +02:00
|
|
|
// -*- C++ -*-
|
|
|
|
//===--------------------------- support/win32/support.h --------------------------===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is dual licensed under the MIT and the University of Illinois Open
|
|
|
|
// Source Licenses. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
/*
|
|
|
|
Functions and constants used in libc++ that are missing from the Windows C library.
|
|
|
|
*/
|
|
|
|
|
2011-09-23 18:11:27 +02:00
|
|
|
#if __MINGW32__
|
|
|
|
#include <stdio.h>
|
|
|
|
#define swprintf snwprintf
|
|
|
|
#endif // __MINGW32__
|
2011-09-22 21:10:18 +02:00
|
|
|
int vasprintf( char **sptr, const char *__restrict__ fmt , va_list ap );
|
2011-09-23 18:11:27 +02:00
|
|
|
size_t mbsnrtowcs( wchar_t *__restrict__ dst, const char **__restrict__ src,
|
|
|
|
size_t nmc, size_t len, mbstate_t *__restrict__ ps );
|
|
|
|
size_t wcsnrtombs( char *__restrict__ dst, const wchar_t **__restrict__ src,
|
|
|
|
size_t nwc, size_t len, mbstate_t *__restrict__ ps );
|