diff options
author | OBATA Akio <obache@wizdas.com> | 2023-11-14 15:45:32 +0900 |
---|---|---|
committer | OBATA Akio <obache@wizdas.com> | 2023-11-14 15:56:58 +0900 |
commit | 419c185be746df8bba59fe5de991b4a2b3977897 (patch) | |
tree | e5326728b294208ba3258f92bcfc312101b9747a /tdeio | |
parent | edff1febbf0bbcdc77cbdf523376b4ead5289a9a (diff) | |
download | tdelibs-419c185be746df8bba59fe5de991b4a2b3977897.tar.gz tdelibs-419c185be746df8bba59fe5de991b4a2b3977897.zip |
Prevent to use conditional inclusion preprocessor feature (since C++23)
`#elifdef` is supported since C23 and C++23, but such newer compiler
is not required here.
Signed-off-by: OBATA Akio <obache@wizdas.com>
Diffstat (limited to 'tdeio')
-rw-r--r-- | tdeio/tdeio/global.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeio/tdeio/global.cpp b/tdeio/tdeio/global.cpp index 21437cdd3..be6e6d89a 100644 --- a/tdeio/tdeio/global.cpp +++ b/tdeio/tdeio/global.cpp @@ -1307,7 +1307,7 @@ TDEIO_EXPORT TQByteArray TDEIO::rawErrorDetail(int errorCode, const TQString &er #endif #ifdef HAVE_SYS_UCRED_H #include <sys/ucred.h> -#elifdef HAVE_UCRED_H +#elif defined(HAVE_UCRED_H) #include <ucred.h> #endif #ifdef HAVE_SYS_MOUNT_H |