Truely fix #if defined broken in -r343111

Pointy-hat-to: mckusick
This commit is contained in:
Kirk McKusick 2019-01-17 16:26:59 +00:00
parent cc50e5a1b8
commit adb8eabc2e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=343115

View file

@ -56,6 +56,7 @@ static const int __elast3 = 106;
#if defined(ELAST)
#undef ELAST
#define ELAST EINTEGRITY
#endif
#elif !defined(EOWNERDEAD) && !defined(ENOTRECOVERABLE) && defined(EINTEGRITY)
#define ENOTRECOVERABLE __elast1
@ -63,6 +64,7 @@ static const int __elast3 = 106;
#if defined(ELAST)
#undef ELAST
#define ELAST EOWNERDEAD
#endif
#elif !defined(EOWNERDEAD) && defined(ENOTRECOVERABLE) && !defined(EINTEGRITY)
#define EOWNERDEAD __elast1
@ -70,12 +72,14 @@ static const int __elast3 = 106;
#if defined(ELAST)
#undef ELAST
#define ELAST EINTEGRITY
#endif
#elif !defined(EOWNERDEAD) && defined(ENOTRECOVERABLE) && defined(EINTEGRITY)
#define EOWNERDEAD __elast1
#if defined(ELAST)
#undef ELAST
#define ELAST EOWNERDEAD
#endif
#elif defined(EOWNERDEAD) && !defined(ENOTRECOVERABLE) && !defined(EINTEGRITY)
#define ENOTRECOVERABLE __elast1
@ -83,18 +87,21 @@ static const int __elast3 = 106;
#if defined(ELAST)
#undef ELAST
#define ELAST EINTEGRITY
#endif
#elif defined(EOWNERDEAD) && !defined(ENOTRECOVERABLE) && defined(EINTEGRITY)
#define ENOTRECOVERABLE __elast1
#if defined(ELAST)
#undef ELAST
#define ELAST ENOTRECOVERABLE
#endif
#elif defined(EOWNERDEAD) && defined(ENOTRECOVERABLE) && !defined(EINTEGRITY)
#define EINTEGRITY __elast1
#if defined(ELAST)
#undef ELAST
#define ELAST EINTEGRITY
#endif
#endif // !defined(OWNERDEAD) && !defined(NOTRECOVERABLE) && !defined(INTEGRITY)