summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2023-11-14 15:45:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-14 17:01:36 +0900
commit141ced0c41af8726eedac425ea24cd162bcff862 (patch)
treea75671068fb92f39363ec3415820af4245dd08d5
parent0cd3572f0d0667193a8e14c976eafb834c7f63b3 (diff)
downloadtdelibs-141ced0c.tar.gz
tdelibs-141ced0c.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> (cherry picked from commit 419c185be746df8bba59fe5de991b4a2b3977897)
-rw-r--r--tdeio/tdeio/global.cpp2
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