Fix the build on 4.x by disabling some code that gcc 2.95 doesn't like.

PR:		82434
Submitted by:	lofi
This commit is contained in:
Koop Mast 2005-06-23 11:15:40 +00:00
parent 9b040e5e92
commit 9ec05919c1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137921
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,14 @@
--- configure.orig Thu Jun 23 13:09:46 2005
+++ configure Thu Jun 23 13:10:48 2005
@@ -25450,7 +25450,11 @@
if test x$lv_ix86 = xyes ; then
cat >>$outfile <<_______EOF
+#if defined(__GNUC__) && __GNUC__ <= 2
+#define VISUAL_ARCH_UNKNOWN
+#else
#define VISUAL_ARCH_X86
+#endif
_______EOF
fi

View file

@ -0,0 +1,14 @@
--- configure.orig Thu Jun 23 13:09:46 2005
+++ configure Thu Jun 23 13:10:48 2005
@@ -25450,7 +25450,11 @@
if test x$lv_ix86 = xyes ; then
cat >>$outfile <<_______EOF
+#if defined(__GNUC__) && __GNUC__ <= 2
+#define VISUAL_ARCH_UNKNOWN
+#else
#define VISUAL_ARCH_X86
+#endif
_______EOF
fi