/pidgin/main: 9f8e83051c26: Remove our define for G_MAXSSIZE.

Mark Doliner mark at kingant.net
Thu Feb 6 04:12:10 EST 2014


Changeset: 9f8e83051c26c96395f30f9b77ab86fa4e736eae
Author:	 Mark Doliner <mark at kingant.net>
Date:	 2014-02-06 01:10 -0800
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/9f8e83051c26

Description:

Remove our define for G_MAXSSIZE.

We require glib 2.20.0 or higher now, so we don't need this.

diffstat:

 libpurple/internal.h |  10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diffs (20 lines):

diff --git a/libpurple/internal.h b/libpurple/internal.h
--- a/libpurple/internal.h
+++ b/libpurple/internal.h
@@ -123,16 +123,6 @@
 #endif
 
 #include <glib.h>
-
-/* This wasn't introduced until Glib 2.14 :( */
-#ifndef G_MAXSSIZE
-#	if GLIB_SIZEOF_LONG == 8
-#		define G_MAXSSIZE ((gssize) 0x7fffffffffffffff)
-#	else
-#		define G_MAXSSIZE ((gssize) 0x7fffffff)
-#	endif
-#endif
-
 #include <glib/gstdio.h>
 
 #ifdef _WIN32



More information about the Commits mailing list