openexr: make architecture independent
[oi-userland.git] / components / library / glib / patches / 24-timer-test-double.patch
blobd3a4da3159422232acdd26e4e42bda4020a73026
1 Without this the following asserts fires.
2 The root cause is unclear.
4 --- glib-2.62.6/glib/tests/timer.c.orig
5 +++ glib-2.62.6/glib/tests/timer.c
6 @@ -25,6 +25,7 @@
7 #define GLIB_DISABLE_DEPRECATION_WARNINGS 1
9 #include "glib.h"
10 +#include <stdio.h>
12 static void
13 test_timer_basic (void)
14 @@ -57,6 +59,8 @@
15 g_usleep (100);
16 elapsed2 = g_timer_elapsed (timer, NULL);
18 + printf("elapsed: %f\n", elapsed);
19 + printf("elapsed2: %f\n", elapsed2);
20 g_assert_cmpfloat (elapsed, ==, elapsed2);
22 g_timer_destroy (timer);