From: Date: Mon, 14 May 2012 07:46:20 +0000 (+0000) Subject: Compile error fix for QNX X-Git-Tag: accepted/tizen/5.0/unified/20181102.024921~125 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7712bf068ecc89d51eb8252c0112ffa2f68166b;p=platform%2Fupstream%2Fglog.git 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 --- 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)