From e7712bf068ecc89d51eb8252c0112ffa2f68166b Mon Sep 17 00:00:00 2001 From: Date: Mon, 14 May 2012 07:46:20 +0000 Subject: [PATCH] Compile error fix for QNX This patch is given in http://code.google.com/p/google-glog/issues/detail?id=114 git-svn-id: https://google-glog.googlecode.com/svn/trunk@111 eb4d4688-79bd-11dd-afb4-1d65580434c0 --- src/logging.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/logging.cc b/src/logging.cc index 3efcdf2..6d00952 100644 --- a/src/logging.cc +++ b/src/logging.cc @@ -78,6 +78,17 @@ using std::ostream; using std::ostringstream; using std::strstream; +using std::FILE; +using std::fwrite; +using std::fclose; +using std::fflush; +using std::fprintf; +using std::perror; + +#ifdef __QNX__ +using std::fdopen; +#endif + // There is no thread annotation support. #define EXCLUSIVE_LOCKS_REQUIRED(mu) -- 2.7.4