summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2007-05-31 21:59:15 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2007-05-31 21:59:15 +0000
commitb32cb619bf91d9c9f200e71ff9168424ce785dfd (patch)
tree6a5b203b10559e643300ecda825775ff0412f05c
parent243c114704f5c5d606a561f5fd2458febb031d94 (diff)
downloadlibapr-b32cb619bf91d9c9f200e71ff9168424ce785dfd.tar.gz
APR_VOID_P_IS_QUAD is not defined anywhere and the usual way is
using APR_SIZEOF_VOIDP. PR: 40758 Submitted by: Davi Arnaut <davi haxent.com.br> Backport: 543274 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.2.x@543275 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--strings/apr_snprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/apr_snprintf.c b/strings/apr_snprintf.c
index 6e5f1f0e2..74bdb9512 100644
--- a/strings/apr_snprintf.c
+++ b/strings/apr_snprintf.c
@@ -1111,7 +1111,7 @@ APR_DECLARE(int) apr_vformatter(int (*flush_func)(apr_vformatter_buff_t *),
* don't handle "%p".
*/
case 'p':
-#ifdef APR_VOID_P_IS_QUAD
+#if APR_SIZEOF_VOIDP == 8
if (sizeof(void *) <= sizeof(u_widest_int)) {
ui_quad = (u_widest_int) va_arg(ap, void *);
s = conv_p2_quad(ui_quad, 4, 'x',