Changeset View
Changeset View
Standalone View
Standalone View
head/devel/android-tools-adb/files/patch-base_logging.cpp
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- base/logging.cpp.orig 2015-06-17 22:20:38 UTC | |||||
+++ base/logging.cpp | |||||
@@ -23,12 +23,14 @@ | |||||
#include <libgen.h> | |||||
// For getprogname(3) or program_invocation_short_name. | |||||
-#if defined(__ANDROID__) || defined(__APPLE__) | |||||
+#if !defined(_WIN32) && !defined(__GLIBC__) | |||||
#include <stdlib.h> | |||||
#elif defined(__GLIBC__) | |||||
#include <errno.h> | |||||
#endif | |||||
+#include <cstring> // strlen | |||||
+#include <cstdio> // fprintf | |||||
#include <iostream> | |||||
#include <limits> | |||||
#include <sstream> |