diff options
Diffstat (limited to 'libraries/ecore/src/lib/ecore/ecore_time.c')
-rw-r--r-- | libraries/ecore/src/lib/ecore/ecore_time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/ecore/src/lib/ecore/ecore_time.c b/libraries/ecore/src/lib/ecore/ecore_time.c index 8e7611b..0eeb1d6 100644 --- a/libraries/ecore/src/lib/ecore/ecore_time.c +++ b/libraries/ecore/src/lib/ecore/ecore_time.c | |||
@@ -21,7 +21,7 @@ | |||
21 | 21 | ||
22 | #include <time.h> | 22 | #include <time.h> |
23 | 23 | ||
24 | #ifdef HAVE_CLOCK_GETTIME | 24 | #if defined (HAVE_CLOCK_GETTIME) || defined (EXOTIC_PROVIDE_CLOCK_GETTIME) |
25 | static clockid_t _ecore_time_clock_id = -1; | 25 | static clockid_t _ecore_time_clock_id = -1; |
26 | #elif defined(__APPLE__) && defined(__MACH__) | 26 | #elif defined(__APPLE__) && defined(__MACH__) |
27 | static double _ecore_time_clock_conversion = 1e-9; | 27 | static double _ecore_time_clock_conversion = 1e-9; |
@@ -52,7 +52,7 @@ double _ecore_time_loop_time = -1.0; | |||
52 | EAPI double | 52 | EAPI double |
53 | ecore_time_get(void) | 53 | ecore_time_get(void) |
54 | { | 54 | { |
55 | #ifdef HAVE_CLOCK_GETTIME | 55 | #if defined (HAVE_CLOCK_GETTIME) || defined (EXOTIC_PROVIDE_CLOCK_GETTIME) |
56 | struct timespec t; | 56 | struct timespec t; |
57 | 57 | ||
58 | if (EINA_UNLIKELY(_ecore_time_clock_id < 0)) | 58 | if (EINA_UNLIKELY(_ecore_time_clock_id < 0)) |
@@ -136,7 +136,7 @@ ecore_loop_time_get(void) | |||
136 | void | 136 | void |
137 | _ecore_time_init(void) | 137 | _ecore_time_init(void) |
138 | { | 138 | { |
139 | #ifdef HAVE_CLOCK_GETTIME | 139 | #if defined (HAVE_CLOCK_GETTIME) || defined (EXOTIC_PROVIDE_CLOCK_GETTIME) |
140 | struct timespec t; | 140 | struct timespec t; |
141 | 141 | ||
142 | if (_ecore_time_clock_id != -1) return; | 142 | if (_ecore_time_clock_id != -1) return; |