Merge pull request #5 from conr2d/add-time

add back std::time
This commit is contained in:
swatanabe-b1
2019-11-07 09:11:58 -05:00
committed by GitHub
2 changed files with 1 additions and 4 deletions
+1
View File
@@ -57,6 +57,7 @@ using ::size_t;
using ::time_t;
using ::tm;
using ::difftime;
using ::time;
#ifndef _LIBCPP_HAS_NO_THREAD_UNSAFE_C_FUNCTIONS
using ::asctime;
using ::gmtime;
-4
View File
@@ -44,10 +44,6 @@
#pragma clang diagnostic ignored "-Wsign-conversion"
#endif
extern "C" void eosio_assert(bool, const char*);
size_t strftime(char*, size_t, const char*, const struct tm*) { eosio_assert(false, "strftime called"); }
size_t strftime_l(char*, size_t, const char*, const struct tm*, locale_t) { eosio_assert(false, "strftime_l called"); }
_LIBCPP_BEGIN_NAMESPACE_STD
struct __libcpp_unique_locale {