diff options
author | OBATA Akio <[email protected]> | 2023-11-14 15:45:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-14 17:01:36 +0900 |
commit | 141ced0c41af8726eedac425ea24cd162bcff862 (patch) | |
tree | a75671068fb92f39363ec3415820af4245dd08d5 /tdeio | |
parent | 0cd3572f0d0667193a8e14c976eafb834c7f63b3 (diff) | |
download | tdelibs-141ced0c41af8726eedac425ea24cd162bcff862.tar.gz tdelibs-141ced0c41af8726eedac425ea24cd162bcff862.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 <[email protected]>
(cherry picked from commit 419c185be746df8bba59fe5de991b4a2b3977897)
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 |