summaryrefslogtreecommitdiff
path: root/lang/gcc33/files/patch-freebsd-spec.h
blob: abb506655e141f359a468cce887cd41cfcfb8acc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- gcc/config/freebsd-spec.h.orig	Thu Jan 13 18:06:26 2005
+++ gcc/config/freebsd-spec.h	Sun Oct 30 21:22:05 2005
@@ -59,6 +59,8 @@ Boston, MA 02111-1307, USA.  */
 	  builtin_define ("__FreeBSD__=4");			       	\
 	else if (FBSD_MAJOR == 3)	       				\
 	  builtin_define ("__FreeBSD__=3");			       	\
+	else if (FBSD_MAJOR == 7)					\
+	  builtin_define ("__FreeBSD__=7");			       	\
 	else								\
 	  builtin_define ("__FreeBSD__");			       	\
 	builtin_define_std ("unix");					\