diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2021-04-17 23:48:15 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2022-02-25 01:44:57 +0000 |
commit | 64db153c43d67d4ff08350a64cbb169c50bdb85e (patch) | |
tree | 40b338279d7afe50e5cc418b7bb0314dff151ec4 /src/cairo-time.c | |
parent | 1fa3b10ccea26ae9259674bbf10ac86a8abcb908 (diff) | |
download | cairo-64db153c43d67d4ff08350a64cbb169c50bdb85e.tar.gz |
Drop OS/2 support
OS/2 support was last built in Cairo 1.12, which was released 10 years
ago.
Additionally, OS/2 is not supported by Meson.
Diffstat (limited to 'src/cairo-time.c')
-rw-r--r-- | src/cairo-time.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/cairo-time.c b/src/cairo-time.c index a0003fbfc..c93205908 100644 --- a/src/cairo-time.c +++ b/src/cairo-time.c @@ -61,34 +61,6 @@ _cairo_time_get (void) return mach_absolute_time (); } -#elif defined(__OS2__) -#define INCL_BASE -#include <os2.h> - -static cairo_always_inline double -_cairo_time_1s (void) -{ - ULONG freq; - - DosTmrQueryFreq (&freq); - - return freq; -} - -cairo_time_t -_cairo_time_get (void) -{ - QWORD t; - cairo_int64_t r; - - DosTmrQueryTime (&t); - - r = _cairo_int64_lsl (_cairo_int32_to_int64 (t.ulHi), 32); - r = _cairo_int64_add (r, _cairo_int32_to_int64 (t.ulLo)); - - return r; -} - #elif _WIN32 #define WIN32_LEAN_AND_MEAN #include <windows.h> |