Minor changes on FOPENTEXT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6077 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
2170215b06
commit
b431c21048
5 changed files with 14 additions and 35 deletions
|
@ -30,7 +30,7 @@ typedef std::wofstream tofstream;
|
|||
typedef std::wifstream tifstream;
|
||||
// Use the following macros to open text files.
|
||||
FILE* FileOpenUnicodeText(const TCHAR* file, const TCHAR* mode);
|
||||
#define FOPENTEXT(file, mode) FileOpenUnicodeText(file, mode)
|
||||
#define FOPENTEXT(file, mode) FileOpenUnicodeText(file, _T(mode))
|
||||
#else
|
||||
typedef std::string tstring;
|
||||
typedef std::ofstream tofstream;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue