]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - include/lldb/Host/android/Android.h
Vendor import of lldb trunk r256945:
[FreeBSD/FreeBSD.git] / include / lldb / Host / android / Android.h
1 //===-- lldb-android.h --------------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef LLDB_lldb_android_h_
11 #define LLDB_lldb_android_h_
12
13 #include <sstream>
14 #include <string>
15 #include <errno.h>
16
17 #define _isatty                 isatty
18 #define SYS_tgkill              __NR_tgkill
19
20 namespace std
21 {
22         template <typename T>
23         std::string to_string(T value)
24         {
25                 std::ostringstream os ;
26                 os << value ;
27                 return os.str() ;
28         }
29 }
30
31 #endif  // LLDB_lldb_android_h_