diff options
author | Cameron Hall <camthesaxman@users.noreply.github.com> | 2017-01-24 19:50:28 -0600 |
---|---|---|
committer | YamaArashi <YamaArashi@users.noreply.github.com> | 2017-01-24 17:50:28 -0800 |
commit | 3f2ea6a1f076575d0c61ca0b71917704e38f6dd7 (patch) | |
tree | 84620f8bf433f86ba7b451b7f22c7f251802a4e9 /tools/preproc/c_file.h | |
parent | c8542506580c0fa247bbb44c169a2cb1244577e4 (diff) |
make preproc build under GCC (#215)
Diffstat (limited to 'tools/preproc/c_file.h')
-rw-r--r-- | tools/preproc/c_file.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/preproc/c_file.h b/tools/preproc/c_file.h index ddd57fd84..7369aba85 100644 --- a/tools/preproc/c_file.h +++ b/tools/preproc/c_file.h @@ -47,7 +47,7 @@ private: bool ConsumeNewline(); void SkipWhitespace(); void TryConvertString(); - std::unique_ptr<unsigned char[]> CFile::ReadWholeFile(const std::string& path, int& size); + std::unique_ptr<unsigned char[]> ReadWholeFile(const std::string& path, int& size); bool CheckIdentifier(const std::string& ident); void TryConvertIncbin(); void ReportDiagnostic(const char* type, const char* format, std::va_list args); |