]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - include/lldb/Host/Time.h
Vendor import of lldb trunk r290819:
[FreeBSD/FreeBSD.git] / include / lldb / Host / Time.h
1 //===-- Time.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 // Include system time headers, adding missing functions as necessary
11
12 #ifndef liblldb_Host_Time_h_
13 #define liblldb_Host_Time_h_
14
15 #ifdef __ANDROID__
16 #include <android/api-level.h>
17 #endif
18
19 #if defined(__ANDROID_API__) && __ANDROID_API__ < 21
20 #include <time64.h>
21 extern time_t timegm(struct tm *t);
22 #else
23 #include <time.h>
24 #endif
25
26 #endif // liblldb_Host_Time_h_