summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2007-05-31 21:58:26 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2007-05-31 21:58:26 +0000
commit7e8054b882133536c18faefb15cf56af2175c07c (patch)
tree7933d71294e91da5a14d02b9a42175d73d0cc5a9 /strings
parentec031bedcea55d835ad3e708e00c4bab4d97a2ac (diff)
downloadapr-7e8054b882133536c18faefb15cf56af2175c07c.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: https://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',