aboutsummaryrefslogtreecommitdiff
path: root/contrib/libc++/include
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2019-01-17 15:35:04 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2019-01-17 15:35:04 +0000
commitcbb97f8d1e2adc67924c7657a897551e86744be8 (patch)
tree2396ccaa263ca0df9e8695b78355846dd9843350 /contrib/libc++/include
parentbd24e861b4ef7cafe2bd00963cdb3ac69198aceb (diff)
Notes
Diffstat (limited to 'contrib/libc++/include')
-rw-r--r--contrib/libc++/include/errno.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/contrib/libc++/include/errno.h b/contrib/libc++/include/errno.h
index c8fd9dceca2b..a6837a00c49b 100644
--- a/contrib/libc++/include/errno.h
+++ b/contrib/libc++/include/errno.h
@@ -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