summaryrefslogtreecommitdiff
path: root/acconfig.h
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>1999-11-10 13:40:52 +0000
committerRyan Bloom <rbb@apache.org>1999-11-10 13:40:52 +0000
commite3d5d57255b67d27746643a539da04a651b30607 (patch)
treeae44c0400bb5600789ac8bce79c3cb89a9bc5def /acconfig.h
parentb94a80bd389ff0f40c25de56d355f035c6bb51d6 (diff)
downloadapr-e3d5d57255b67d27746643a539da04a651b30607.tar.gz
Fix a problem with the configure script. AC_CHECK_SIZEOF is only meant to
be used for built-in types. ssize_t is not a built-in type on all systems, so SIZEOF_SSIZE_T was consistently getting defined to 0 on all of my systems. This fixes that problem by re-writing AC_TRY_RUN (the default AC_TRY_RUN has issues that don't allow for getting the return code from the program) and using it to get the size of SSIZE_T. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59466 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h
index 376a9402c..66d596fdc 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -42,6 +42,7 @@
#undef NEED_RLIM_T
#undef USEBCOPY
+#undef SIZEOF_SSIZE_T
#undef APR_HAS_THREADS
@BOTTOM@