blob: 1481d381053d646c11233199af3e97a346ee4b49 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
//===-- Time.h --------------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// Include system time headers, adding missing functions as necessary
#ifndef liblldb_Host_Time_h_
#define liblldb_Host_Time_h_
#ifdef __ANDROID_NDK__
#include <android/api-level.h>
#endif
#if defined(__ANDROID_API__) && __ANDROID_API__ < 21
#include <time64.h>
extern time_t timegm(struct tm* t);
#else
#include <time.h>
#endif
#endif // liblldb_Host_Time_h_
|