зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1471177 - Use mingw-specific IFStream and OFStream implementation only when building againstd libstdc++. r=froydnj
MozReview-Commit-ID: 6aKGtK7B74z --HG-- extra : rebase_source : 708e16c62c91aa482bffd6dbc74f6bfe944d4fec
This commit is contained in:
Родитель
14563f9e99
Коммит
03565d5406
|
@ -18,7 +18,7 @@
|
|||
#include <istream>
|
||||
#include <ostream>
|
||||
#include <fstream>
|
||||
#if defined(__MINGW32__)
|
||||
#if defined(__MINGW32__) && defined(__GLIBCXX__)
|
||||
#include "mozilla/UniquePtr.h"
|
||||
#include <fcntl.h>
|
||||
#include <ext/stdio_filebuf.h>
|
||||
|
@ -26,7 +26,7 @@
|
|||
|
||||
namespace mozilla {
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
#if defined(__MINGW32__) && defined(__GLIBCXX__)
|
||||
// MinGW does not support wchar_t* overloads that are MSVC extension until
|
||||
// C++17, so we have to implement widechar wrappers using a GNU extension.
|
||||
class IFStream : public std::istream
|
||||
|
|
Загрузка…
Ссылка в новой задаче