mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
e808fb424a
Unify the many copies of diff_with_file in one source file, and patch it to detect diff at runtime and fall back to a simple strcmp if we don't have it. Make all tests use this new testutils.c, and stop requiring diff for building the tests. This should let us allow to build on Windows with the default value for -Dbuild-tests.
8 lines
185 B
C
8 lines
185 B
C
#pragma once
|
|
|
|
char * diff_with_file (const char *file1,
|
|
char *text,
|
|
gssize len,
|
|
GError **error);
|
|
|