]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok-internal.h
Drop obsolete g_match_info_unref() workaround.
[libsigrok.git] / libsigrok-internal.h
index 0dc7bb0f6b9b2eb64563e7a651dae535e1153e71..6f70c78f226c57cca2e7564e2a1be35e10428862 100644 (file)
 #define ARRAY_AND_SIZE(a) (a), ARRAY_SIZE(a)
 #endif
 
-/* Versions < 2.30.0 of glib don't have g_match_info_unref(). */
-#if !GLIB_CHECK_VERSION(2,30,0)
-#define g_match_info_unref g_match_info_free
-#endif
-
 struct sr_context {
 #ifdef HAVE_LIBUSB_1_0
        libusb_context *libusb_ctx;