diff options
Diffstat (limited to 'tests/testboundaries.c')
-rw-r--r-- | tests/testboundaries.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/testboundaries.c b/tests/testboundaries.c index 241e6859..feef19ce 100644 --- a/tests/testboundaries.c +++ b/tests/testboundaries.c @@ -317,7 +317,12 @@ test_boundaries (void) { gchar *text; const gchar *filename; +#if GLIB_CHECK_VERSION(2, 37, 2) filename = g_test_get_filename (G_TEST_DIST, "boundaries.utf8", NULL); +#else + filename = SRCDIR "/boundaries.utf8"; +#endif + g_print ("sample file: %s\n", filename); if (!g_file_get_contents (filename, &text, NULL, NULL)) |