MinGW might have a different include order, make sure the f*print stuff we want to override has already been included

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6369 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2013-05-26 20:58:44 +00:00
parent 1cf3d5cb22
commit b8aee8098d

View file

@ -100,6 +100,7 @@ bool WINAPI WinStdIO_OStreamWrite(WINSIO_OSDATA&osd, const wchar_t *Str, UINT cc
int WINAPI WinStdIO_vfwprintf(FILE*strm, const wchar_t*Fmt, va_list val);
int WinStdIO_fwprintf(FILE*strm, const wchar_t*Fmt, ...);
int WinStdIO_wprintf(const wchar_t*Fmt, ...);
#include <tchar.h> // Make sure we include the CRTs tchar.h in case it is pulled in by something else later.
// We don't hook fflush since the native handle is only used with WriteConsoleW
#undef _vsntprintf
#define _vsntprintf Error: TODO