freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair instead of #elif (which is OK...
authorLoren J. Rittle <ljrittle@acm.org>
Tue, 22 May 2001 21:33:36 +0000 (21:33 +0000)
committerLoren J. Rittle <ljrittle@gcc.gnu.org>
Tue, 22 May 2001 21:33:36 +0000 (21:33 +0000)
* config/freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair
instead of #elif (which is OK for this case but not in general).

From-SVN: r42469

gcc/ChangeLog
gcc/config/freebsd.h

index d9af40274e09d2676a78beab26d153d70089fa08..ff5c32fc8c04a8d5cea2158c1cc5e50bb4613a17 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-22  Loren J. Rittle  <ljrittle@acm.org>
+
+       * config/freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair
+       instead of #elif (which is OK for this case but not in general).
+
 2001-05-22  Andrew MacLeod  <amacleod@redhat.com>
 
        * builtins.c (expand_builtin_longjmp): A longjmp can be a call too.
index 8b526ca1cf258c435ef325fbae9e9780152fd27d..88e0226ec7180fe140145f8970dea5886651a18d 100644 (file)
@@ -53,16 +53,24 @@ Boston, MA 02111-1307, USA.  */
 #if FBSD_MAJOR == 6
 #define FBSD_CPP_PREDEFINES \
   "-D__FreeBSD__=6 -Dunix -D__ELF__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
-#elif FBSD_MAJOR == 5
+#endif
+
+#if FBSD_MAJOR == 5
 #define FBSD_CPP_PREDEFINES \
   "-D__FreeBSD__=5 -Dunix -D__ELF__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
-#elif FBSD_MAJOR == 4
+#endif
+
+#if FBSD_MAJOR == 4
 #define FBSD_CPP_PREDEFINES \
   "-D__FreeBSD__=4 -Dunix -D__ELF__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
-#elif FBSD_MAJOR == 3
+#endif
+
+#if FBSD_MAJOR == 3
 #define FBSD_CPP_PREDEFINES \
   "-D__FreeBSD__=3 -Dunix -D__ELF__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
-#else
+#endif
+
+#ifndef FBSD_CPP_PREDEFINES
 #define FBSD_CPP_PREDEFINES \
   "-D__FreeBSD__   -Dunix -D__ELF__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
 #endif