summaryrefslogtreecommitdiff
path: root/lib/unistring/inline.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-03-03 19:11:58 +0100
committerJörg Frings-Fürst <debian@jff.email>2024-03-03 19:11:58 +0100
commit9853b168f68cbb09b75a817343cedde2aca4c76c (patch)
treedb628840acea83dbccaf5676b89579a80e02ef51 /lib/unistring/inline.h
parentd83e85a2e6064c36f6ad3c848e39d8b8c101c4f7 (diff)
parent7cf710f6587e71a193a55d84dd6d8ae1a8a69ce0 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'lib/unistring/inline.h')
-rw-r--r--lib/unistring/inline.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/unistring/inline.h b/lib/unistring/inline.h
index 4605fbfa..710cf504 100644
--- a/lib/unistring/inline.h
+++ b/lib/unistring/inline.h
@@ -1,5 +1,5 @@
/* Decision whether to use 'inline' or not.
- Copyright (C) 2006, 2009, 2018 Free Software Foundation, Inc.
+ Copyright (C) 2006-2023 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or
modify it under the terms of either:
@@ -40,10 +40,10 @@
equivalent is effectively supported, i.e. if the compiler is likely to
drop unused 'static inline' functions. */
-#if defined __GNUC__
-/* GNU C or GNU C++. */
+#if defined __GNUC__ || defined __clang__
+/* GNU C/C++ or clang C/C++. */
# if defined __NO_INLINE__
-/* GCC defines __NO_INLINE__ if not optimizing or if -fno-inline is
+/* GCC and clang define __NO_INLINE__ if not optimizing or if -fno-inline is
specified. */
# define UNISTRING_HAVE_INLINE 0
# else