summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2007-05-31 21:58:26 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2007-05-31 21:58:26 +0000
commitb1fd2188790edb6e4c8bdfc59ec7264c403fddb5 (patch)
tree7933d71294e91da5a14d02b9a42175d73d0cc5a9 /strings
parente01a966ea6cd4e1764e508a04493d2b0d0f75ba1 (diff)
downloadlibapr-b1fd2188790edb6e4c8bdfc59ec7264c403fddb5.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> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@543274 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'strings')
-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 a8b5db593..bd39663ba 100644
--- a/strings/apr_snprintf.c
+++ b/strings/apr_snprintf.c
@@ -1120,7 +1120,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',