Author: mckusick
Date: Thu Jan 17 15:35:04 2019
New Revision: 343113
URL: https://svnweb.freebsd.org/changeset/base/343113

Log:
  Fix #if defined broken in -r343111
  
  Pointy-hat-to: mckusick

Modified:
  head/contrib/libc++/include/errno.h

Modified: head/contrib/libc++/include/errno.h
==============================================================================
--- head/contrib/libc++/include/errno.h Thu Jan 17 14:09:55 2019        
(r343112)
+++ head/contrib/libc++/include/errno.h Thu Jan 17 15:35:04 2019        
(r343113)
@@ -35,7 +35,7 @@ Macros:
 
 #if !defined(EOWNERDEAD) || !defined(ENOTRECOVERABLE) || !defined(EINTEGRITY)
 
-#ifdef ELAST
+#if defined(ELAST)
 
 static const int __elast1 = ELAST+1;
 static const int __elast2 = ELAST+2;
@@ -53,46 +53,46 @@ static const int __elast2 = 106;
 #define ENOTRECOVERABLE __elast1
 #define EOWNERDEAD __elast2
 #define EINTEGRITY __elast3
-#ifdef ELAST
+#if defined(ELAST)
 #undef ELAST
 #define ELAST EINTEGRITY
 
 #elif !defined(EOWNERDEAD) && !defined(ENOTRECOVERABLE) && defined(EINTEGRITY)
 #define ENOTRECOVERABLE __elast1
 #define EOWNERDEAD __elast2
-#ifdef ELAST
+#if defined(ELAST)
 #undef ELAST
 #define ELAST EOWNERDEAD
 
 #elif !defined(EOWNERDEAD) && defined(ENOTRECOVERABLE) && !defined(EINTEGRITY)
 #define EOWNERDEAD __elast1
 #define EINTEGRITY __elast2
-#ifdef ELAST
+#if defined(ELAST)
 #undef ELAST
 #define ELAST EINTEGRITY
 
 #elif !defined(EOWNERDEAD) && defined(ENOTRECOVERABLE) && defined(EINTEGRITY)
 #define EOWNERDEAD __elast1
-#ifdef ELAST
+#if defined(ELAST)
 #undef ELAST
 #define ELAST EOWNERDEAD
 
 #elif defined(EOWNERDEAD) && !defined(ENOTRECOVERABLE) && !defined(EINTEGRITY)
 #define ENOTRECOVERABLE __elast1
 #define EINTEGRITY __elast2
-#ifdef ELAST
+#if defined(ELAST)
 #undef ELAST
 #define ELAST EINTEGRITY
 
 #elif defined(EOWNERDEAD) && !defined(ENOTRECOVERABLE) && defined(EINTEGRITY)
 #define ENOTRECOVERABLE __elast1
-#ifdef ELAST
+#if defined(ELAST)
 #undef ELAST
 #define ELAST ENOTRECOVERABLE
 
 #elif defined(EOWNERDEAD) && defined(ENOTRECOVERABLE) && !defined(EINTEGRITY)
 #define EINTEGRITY __elast1
-#ifdef ELAST
+#if defined(ELAST)
 #undef ELAST
 #define ELAST EINTEGRITY
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to