22 lines
745 B
Diff
22 lines
745 B
Diff
|
From: Peter Lemenkov <lemenkov@gmail.com>
|
||
|
Date: Wed, 18 Dec 2013 13:39:07 +0400
|
||
|
Subject: [PATCH] Remove g_memmove
|
||
|
|
||
|
Glib no longer offers this macro so we have to fallback to C90 memmove.
|
||
|
|
||
|
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
|
||
|
|
||
|
diff --git a/packaging/macosx/native-gtk/glibconfig.h b/packaging/macosx/native-gtk/glibconfig.h
|
||
|
index e0a9589..2730202 100644
|
||
|
--- a/packaging/macosx/native-gtk/glibconfig.h
|
||
|
+++ b/packaging/macosx/native-gtk/glibconfig.h
|
||
|
@@ -78,8 +78,6 @@ typedef unsigned long gsize;
|
||
|
# define g_ATEXIT(proc) (atexit (proc))
|
||
|
#endif
|
||
|
|
||
|
-#define g_memmove(dest,src,len) G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END
|
||
|
-
|
||
|
#define GLIB_MAJOR_VERSION 2
|
||
|
#define GLIB_MINOR_VERSION 12
|
||
|
#define GLIB_MICRO_VERSION 9
|