mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-18 18:22:07 +08:00
Migrate to g_memdup2 (#288)
With fakeglib and older versions of GLib, fall back to g_memdup with a #define inside mdbprivate.h. Fixes #287
This commit is contained in:
@@ -24,9 +24,8 @@
|
||||
* exported to calling programs.
|
||||
*/
|
||||
|
||||
#define _(String) (String)
|
||||
#define N_(String) String
|
||||
#define textdomain(Domain)
|
||||
#define bindtextdomain(Package, Directory)
|
||||
#ifndef HAVE_G_MEMDUP2
|
||||
#define g_memdup2 g_memdup
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user