diff options
author | Calin Juravle <calin@google.com> | 2014-05-22 13:37:13 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-05-22 13:37:13 +0000 |
commit | cd3897d0af0c7b5a3b4913a2b0cca715fdfb890c (patch) | |
tree | 9a71f30cee64c7df84df89f250d7736e7825f236 | |
parent | 30291f2119be5a8ce3491a715e07f28062532f4d (diff) | |
parent | dcc98da018ce7639b0dea3eb9df464031093bfbd (diff) | |
download | system_core-cd3897d0af0c7b5a3b4913a2b0cca715fdfb890c.zip system_core-cd3897d0af0c7b5a3b4913a2b0cca715fdfb890c.tar.gz system_core-cd3897d0af0c7b5a3b4913a2b0cca715fdfb890c.tar.bz2 |
Merge "Move libutils from fdprintf to POSIX dprintf."
-rw-r--r-- | libutils/Printer.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libutils/Printer.cpp b/libutils/Printer.cpp index 263e740..1dc8632 100644 --- a/libutils/Printer.cpp +++ b/libutils/Printer.cpp @@ -25,10 +25,6 @@ #include <stdio.h> #include <stdlib.h> -#ifndef __BIONIC__ -#define fdprintf dprintf -#endif - namespace android { /* @@ -120,7 +116,7 @@ void FdPrinter::printLine(const char* string) { } #ifndef USE_MINGW - fdprintf(mFd, mFormatString, mPrefix, string); + dprintf(mFd, mFormatString, mPrefix, string); #endif } |