[Midnightbsd-cvs] src [7309] trunk/lib/libmport/mport_private.h: drop support for old versions and identify 0.8

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Sep 26 11:44:35 EDT 2015


Revision: 7309
          http://svnweb.midnightbsd.org/src/?rev=7309
Author:   laffer1
Date:     2015-09-26 11:44:35 -0400 (Sat, 26 Sep 2015)
Log Message:
-----------
drop support for old versions and identify 0.8

Modified Paths:
--------------
    trunk/lib/libmport/mport_private.h

Modified: trunk/lib/libmport/mport_private.h
===================================================================
--- trunk/lib/libmport/mport_private.h	2015-09-22 17:17:18 UTC (rev 7308)
+++ trunk/lib/libmport/mport_private.h	2015-09-26 15:44:35 UTC (rev 7309)
@@ -170,20 +170,16 @@
 #error "Unable to detect arch!"
 #endif
 
-#if __MidnightBSD_version >= 7000
+#if __MidnightBSD_version >= 8000
+#define MPORT_OSVERSION "0.8"
+#elif __MidnightBSD_version >= 7000
 #define MPORT_OSVERSION "0.7"
 #elif __MidnightBSD_version >= 6000
 #define MPORT_OSVERSION "0.6"
 #elif __MidnightBSD_version >= 5000
 #define MPORT_OSVERSION "0.5"
-#elif __MidnightBSD_version >= 4000
-#define MPORT_OSVERSION "0.4"
-#elif _MidnightBSD_version < 4000 && __MidnightBSD_version >= 3000
-#define MPORT_OSVERSION "0.3"
-#elif __MidnightBSD_version < 3000 && __MidnightBSD_version >= 2000
-#define MPORT_OSVERSION "0.2"
 #else
-#error "libmport only supports MidnightBSD versions 0.2 and greater."
+#error "libmport only supports MidnightBSD versions 0.5 and greater."
 #endif
 
 



More information about the Midnightbsd-cvs mailing list