Skip to content

Commit

Permalink
timegm in LibcGlue needs to be extern, not static.
Browse files Browse the repository at this point in the history
Reviewers: vharron

Reviewed By: vharron

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D10778

llvm-svn: 240894
  • Loading branch information
chaoren committed Jun 27, 2015
1 parent cb53eed commit ccc06b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lldb/include/lldb/Host/Time.h
Expand Up @@ -18,7 +18,7 @@

#if defined(__ANDROID_API__) && __ANDROID_API__ < 21
#include <time64.h>
static time_t timegm(struct tm* t);
extern time_t timegm(struct tm* t);
#else
#include <time.h>
#endif
Expand Down

0 comments on commit ccc06b3

Please sign in to comment.