summaryrefslogtreecommitdiff
path: root/perf
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-04-17 23:48:15 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2022-02-25 01:44:57 +0000
commit64db153c43d67d4ff08350a64cbb169c50bdb85e (patch)
tree40b338279d7afe50e5cc418b7bb0314dff151ec4 /perf
parent1fa3b10ccea26ae9259674bbf10ac86a8abcb908 (diff)
downloadcairo-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 'perf')
-rw-r--r--perf/cairo-perf.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/perf/cairo-perf.c b/perf/cairo-perf.c
index 18db0c544..ebef8eb59 100644
--- a/perf/cairo-perf.c
+++ b/perf/cairo-perf.c
@@ -36,10 +36,7 @@
#include <unistd.h>
#endif
-#if defined(__OS2__)
-#define INCL_BASE
-#include <os2.h>
-#elif defined(_WIN32)
+#if defined(_WIN32)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#elif defined(_POSIX_PRIORITY_SCHEDULING)
@@ -86,9 +83,7 @@ cairo_perf_yield (void)
{
/* try to deactivate this thread until the scheduler calls it again */
-#if defined(__OS2__)
- DosSleep (0);
-#elif defined(_WIN32)
+#if defined(_WIN32)
SleepEx(0, TRUE);
#elif defined(_POSIX_PRIORITY_SCHEDULING)
sched_yield ();