diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-05-29 23:29:20 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-05-29 23:29:20 +0000 |
commit | a1d2d9c75b787deeccddbca65f3240155637e1bf (patch) | |
tree | c969dd53e8a21d2cead00e279626ef6ba0f7f63f /acinclude.m4 | |
parent | 5eb2b42d3016469b314d9b67e90aac8c5ec8012f (diff) | |
download | wireshark-a1d2d9c75b787deeccddbca65f3240155637e1bf.tar.gz wireshark-a1d2d9c75b787deeccddbca65f3240155637e1bf.tar.bz2 wireshark-a1d2d9c75b787deeccddbca65f3240155637e1bf.zip |
we dont link with g_snprintf in the configure for gtk1-2 so fall back to
snprintf instead
svn path=/trunk/; revision=21995
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 9647b6a751..383ec67d18 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1588,7 +1588,11 @@ AC_DEFUN([AC_WIRESHARK_CHECK_64BIT_FORMAT], { guint64 t = 1; char strbuf[16+1]; + #if GTK_MAJOR_VERSION >= 2 g_snprintf(strbuf, sizeof strbuf, "%016$1x", t << 32); + #else + snprintf(strbuf, sizeof strbuf, "%016$1x", t << 32); + #endif if (strcmp(strbuf, "0000000100000000") == 0) exit(0); else |