compat: Add compatibility defines for older GLib

We are already using a number of defines and autoptrs from newer GLib
releases. Add the appropriate compatibility defines rather than removing
the corresponding code.

Closes: #222
This commit is contained in:
Benjamin Berg
2020-01-13 15:16:04 +01:00
parent bb08d2e3c2
commit 169ca1ba77
5 changed files with 37 additions and 0 deletions

View File

@@ -20,6 +20,7 @@
#include <gusb.h>
#include "fp-context.h"
#include "fpi-compat.h"
/**
* fpi_get_driver_types: