Merge "Move libutils from fdprintf to POSIX dprintf."
This commit is contained in:
commit
cd3897d0af
1 changed files with 1 additions and 5 deletions
|
|
@ -25,10 +25,6 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#ifndef __BIONIC__
|
|
||||||
#define fdprintf dprintf
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace android {
|
namespace android {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
@ -120,7 +116,7 @@ void FdPrinter::printLine(const char* string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef USE_MINGW
|
#ifndef USE_MINGW
|
||||||
fdprintf(mFd, mFormatString, mPrefix, string);
|
dprintf(mFd, mFormatString, mPrefix, string);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue