summaryrefslogtreecommitdiff
path: root/base/include/android-base/errors.h
diff options
context:
space:
mode:
authorSpencer Low <CompareAndSwap@gmail.com>2015-11-07 18:51:54 -0800
committerElliott Hughes <enh@google.com>2015-11-09 10:22:13 -0800
commit363af568b8491af1a4256b09b04cfa8a0606d8cc (patch)
treeee606a86da59571b114a8103ee70126399537d1a /base/include/android-base/errors.h
parent24e3b8d0912350e64b0268a627449cf7457039b8 (diff)
adb/base: minor compiler portability improvements
I've been using these changes to compile with Visual Studio. - GetFileBasename(): __FILE__ uses \ with Visual Studio. - adb_trace.cpp: Apparently VS needs an ampersand before the function name. - "expr1 ? : expr2" is a GCC extension. - <algorithm> contains std::min(). - seekdir can't always be #define'd because some headers have members named seekdir. - adb_utils.cpp: Not really a compiler issue, just a random fix: 0x7F/DEL is not printable. Change-Id: I0dfb634f1ba4ccbc0d1b9f71b00e838fbebb3b41 Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
Diffstat (limited to 'base/include/android-base/errors.h')
0 files changed, 0 insertions, 0 deletions