Require glib2 2.68 or later (for g_memdup2) (#400)

This commit is contained in:
Evan Miller
2022-12-17 07:08:44 -05:00
committed by GitHub
parent f14fbea093
commit f7ae5e3f3c
4 changed files with 3 additions and 7 deletions

View File

@@ -117,6 +117,7 @@ typedef struct GOptionContext {
#define g_malloc malloc
#define g_free free
#define g_realloc realloc
#define g_memdup2 g_memdup
#define G_STR_DELIMITERS "_-|> <."

View File

@@ -26,10 +26,6 @@
* used within mdbtools so they won't be exported to calling programs.
*/
#ifndef HAVE_G_MEMDUP2
#define g_memdup2 g_memdup
#endif
#ifdef __cplusplus
extern "C" {
#endif