summaryrefslogtreecommitdiff
path: root/include/apr_lib.h
diff options
context:
space:
mode:
authorgstein <gstein@13f79535-47bb-0310-9956-ffa450edef68>2000-12-03 10:11:43 +0000
committergstein <gstein@13f79535-47bb-0310-9956-ffa450edef68>2000-12-03 10:11:43 +0000
commit43fa776d6144c43ee9a7b7c06e19f247dc0df638 (patch)
tree1d7368339f4725f666c41fbc2c7f381c8e805ea8 /include/apr_lib.h
parentf35ac096a6ee2975dfab74500f3c4581b23bf8cb (diff)
downloadlibapr-43fa776d6144c43ee9a7b7c06e19f247dc0df638.tar.gz
isascii() is not available on PowerPC versions of BeOS. Supply a definition.
Submitted by: Sam TH <sam@uchicago.edu> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60862 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_lib.h')
-rw-r--r--include/apr_lib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/apr_lib.h b/include/apr_lib.h
index f28f79a88..bdc3b5291 100644
--- a/include/apr_lib.h
+++ b/include/apr_lib.h
@@ -122,6 +122,10 @@ APR_DECLARE(const char *) apr_filename_of_pathname(const char *pathname);
#define apr_tolower(c) (tolower(((unsigned char)(c))))
#define apr_toupper(c) (toupper(((unsigned char)(c))))
+#if BEOS && __POWER_PC__
+#define isascii(c) (((c) & ~0x7f)==0)
+#endif
+
/*
* Small utility macros to make things easier to read. Not usually a
* goal, to be sure..