From 3f2ea6a1f076575d0c61ca0b71917704e38f6dd7 Mon Sep 17 00:00:00 2001 From: Cameron Hall Date: Tue, 24 Jan 2017 19:50:28 -0600 Subject: make preproc build under GCC (#215) --- tools/preproc/c_file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/preproc/c_file.h') 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 CFile::ReadWholeFile(const std::string& path, int& size); + std::unique_ptr 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); -- cgit v1.2.3