summaryrefslogtreecommitdiff
path: root/acconfig.h
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-06-20 16:16:20 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-06-20 16:16:20 +0000
commit938ff72f9e34610a2c249ea2d4189e627fc2db6f (patch)
tree5752a3424ce9e1945d98079aa9abbf6c2e5ff99e /acconfig.h
parent4b87ca45cea0958a04dfdf0ea38aec7ff63d1fdb (diff)
downloadlibapr-938ff72f9e34610a2c249ea2d4189e627fc2db6f.tar.gz
Remove a duplicate definition of ap_inline. This is provided by apr.h, so
we don't need it in ap_private.h. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60231 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/acconfig.h b/acconfig.h
index d639d360d..1edd878d3 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -1,29 +1,6 @@
#ifndef APR_PRIVATE_H
#define APR_PRIVATE_H
-/* So that we can use inline on some critical functions, and use
- * GNUC attributes (such as to get -Wall warnings for printf-like
- * functions). Only do this in gcc 2.7 or later ... it may work
- * on earlier stuff, but why chance it.
- *
- * We've since discovered that the gcc shipped with NeXT systems
- * as "cc" is completely broken. It claims to be __GNUC__ and so
- * on, but it doesn't implement half of the things that __GNUC__
- * means. In particular it's missing inline and the __attribute__
- * stuff. So we hack around it. PR#1613. -djg
- */
-#if !defined(__GNUC__) || __GNUC__ < 2 || \
- (__GNUC__ == 2 && __GNUC_MINOR__ < 7) ||\
- defined(NEXT)
-#define ap_inline
-#define __attribute__(__x)
-#define ENUM_BITFIELD(e,n,w) signed int n : w
-#else
-#define ap_inline __inline__
-#define USE_GNU_INLINE
-#define ENUM_BITFIELD(e,n,w) e n : w
-#endif
-
@TOP@
/* Various #defines we need to know about */