rse 99/03/10 03:37:53
Modified: src CHANGES
src/include ap_config.h
Log:
Fix the gcc version check (for enabling the `inline' facility) to
really support all future gcc versions >= 2.7 until we know more.
Submitted by: John Tobey <[EMAIL PROTECTED]>
Reviewed by: Ralf S. Engelschall
PR: 3983
Revision Changes Path
1.1272 +4 -0 apache-1.3/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/apache-1.3/src/CHANGES,v
retrieving revision 1.1271
retrieving revision 1.1272
diff -u -r1.1271 -r1.1272
--- CHANGES 1999/03/10 11:22:09 1.1271
+++ CHANGES 1999/03/10 11:37:50 1.1272
@@ -1,5 +1,9 @@
Changes with Apache 1.3.5
+ *) Fix the gcc version check (for enabling the `inline' facility) to
+ really support all future gcc versions >= 2.7 until we know more.
+ [John Tobey <[EMAIL PROTECTED]>] PR#3983
+
*) Let APACI's configure script correctly complain for unknown --enable-XXX
and --disable-XXX options. [Ralf S. Engelschall] PR#3958
1.251 +3 -1 apache-1.3/src/include/ap_config.h
Index: ap_config.h
===================================================================
RCS file: /home/cvs/apache-1.3/src/include/ap_config.h,v
retrieving revision 1.250
retrieving revision 1.251
diff -u -r1.250 -r1.251
--- ap_config.h 1999/01/01 19:04:38 1.250
+++ ap_config.h 1999/03/10 11:37:52 1.251
@@ -95,7 +95,9 @@
* 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_MINOR__ < 7 || defined(NEXT)
+#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