1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/lang/gnat/files/patch-gcc-config-freebsd-spec.h
2005-11-29 00:47:55 +00:00

14 lines
496 B
C

--- gcc/config/freebsd-spec.h.orig Sun May 1 21:04:41 2005
+++ gcc/config/freebsd-spec.h Wed Nov 23 23:45:24 2005
@@ -51,7 +51,9 @@
#define FBSD_TARGET_OS_CPP_BUILTINS() \
do \
{ \
- if (FBSD_MAJOR == 6) \
+ if (FBSD_MAJOR == 7) \
+ builtin_define ("__FreeBSD__=7"); \
+ else if (FBSD_MAJOR == 6) \
builtin_define ("__FreeBSD__=6"); \
else if (FBSD_MAJOR == 5) \
builtin_define ("__FreeBSD__=5"); \