From 209ac666ccd0706b6c9b20e2357e9a52486dfaa1 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Thu, 14 Sep 2017 00:59:21 +0200 Subject: [PATCH] [DEV] continue removing STL --- README.md | 2 +- echrono/Duration.hpp | 1 - echrono/Time.cpp | 3 +++ lutin_echrono.py | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d07af2b..2cbc286 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ e-chrono ======== -`e-chrono` Virualize the std::chono interface to permit to have a slow virtual clock +`e-chrono` time interface (wrapped multi-os) Release (master) ---------------- diff --git a/echrono/Duration.hpp b/echrono/Duration.hpp index ce98d5e..d0247ba 100644 --- a/echrono/Duration.hpp +++ b/echrono/Duration.hpp @@ -6,7 +6,6 @@ #pragma once #include -#include namespace echrono { template diff --git a/echrono/Time.cpp b/echrono/Time.cpp index cf2ac8f..371e39f 100644 --- a/echrono/Time.cpp +++ b/echrono/Time.cpp @@ -10,6 +10,9 @@ #include #include #include +extern "C" { + #include +} static int64_t getTime() { #if defined(__TARGET_OS__Android) diff --git a/lutin_echrono.py b/lutin_echrono.py index 287136a..32f56b4 100644 --- a/lutin_echrono.py +++ b/lutin_echrono.py @@ -7,7 +7,7 @@ def get_type(): return "LIBRARY" def get_desc(): - return "E-chrono: Ewol chrono wrapper to simplify use of std::chrono (and permit to create a virtual clock)" + return "E-chrono: Ewol chrono" def get_licence(): return "MPL-2"