Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

2010-07-25 Zoltan Varga <vargaz@gmail.com>

	* configure.ac src/eglib-config.h.in src/eglib-config.hw: Define G_GINT64_FORMAT.
  • Loading branch information...
commit f6d5052ca1f5c3e6d5686397ced92a0fdc300064 1 parent 8deb8d6
@vargaz vargaz authored
View
4 eglib/ChangeLog
@@ -1,3 +1,7 @@
+2010-07-25 Zoltan Varga <vargaz@gmail.com>
+
+ * configure.ac src/eglib-config.h.in src/eglib-config.hw: Define G_GINT64_FORMAT.
+
2010-07-20 Zoltan Varga <vargaz@gmail.com>
* src/glib.h (G_LIKELY): Implement these for gcc properly.
View
3  eglib/configure.ac
@@ -114,6 +114,7 @@ if test $ac_cv_sizeof_void_p != $ac_cv_sizeof_int; then
GSIZE="long"
GSIZE_FORMAT='"lu"'
G_GUINT64_FORMAT='"lu"'
+ G_GINT64_FORMAT='"ld"'
else
GPOINTER_TO_INT="((gint) (ptr))"
GPOINTER_TO_UINT="((guint) (ptr))"
@@ -122,6 +123,7 @@ else
GSIZE="int"
GSIZE_FORMAT='"u"'
G_GUINT64_FORMAT='"llu"'
+ G_GINT64_FORMAT='"lld"'
fi
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
@@ -159,6 +161,7 @@ AC_SUBST(GUINT_TO_POINTER)
AC_SUBST(GSIZE)
AC_SUBST(GSIZE_FORMAT)
AC_SUBST(G_GUINT64_FORMAT)
+AC_SUBST(G_GINT64_FORMAT)
AC_OUTPUT([
Makefile
View
1  eglib/src/eglib-config.h.in
@@ -24,6 +24,7 @@ typedef signed @GSIZE@ gssize;
#define G_GSIZE_FORMAT @GSIZE_FORMAT@
#define G_GUINT64_FORMAT @G_GUINT64_FORMAT@
+#define G_GINT64_FORMAT @G_GINT64_FORMAT@
#if @G_HAVE_ISO_VARARGS@ == 1
#define G_HAVE_ISO_VARARGS
View
1  eglib/src/eglib-config.hw
@@ -27,6 +27,7 @@ typedef int pid_t;
#define G_SEARCHPATH_SEPARATOR ';'
#define G_GSIZE_FORMAT "d"
#define G_GUINT64_FORMAT "d"
+#define G_GINT64_FORMAT "d"
#define GPOINTER_TO_INT(ptr) ((gint)(intptr_t) (ptr))
#define GPOINTER_TO_UINT(ptr) ((guint)(intptr_t) (ptr))
#define GINT_TO_POINTER(v) ((gpointer)(intptr_t) (v))
Please sign in to comment.
Something went wrong with that request. Please try again.