summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforminputcontexts/ibus/qibusplatforminputcontext.cpp
diff options
context:
space:
mode:
authorJames McDonnell <jmcdonnell@qnx.com>2016-02-11 10:10:21 -0500
committerJames McDonnell <jmcdonnell@qnx.com>2016-02-20 00:12:58 +0000
commitd87242968fc56ba09243f642ce70a85084619de0 (patch)
tree8c749bab365c9cf8e6a1d4027b4404c2f8c8a859 /src/plugins/platforminputcontexts/ibus/qibusplatforminputcontext.cpp
parent1da975cdc5297ddde584981c4bf301b288ccaca9 (diff)
Move __cpp_constexpr check inside Q_COMPILER_CONSTEXPR check
Q_COMPILER_CONSTEXPR can be undefined (or not defined at all) to indicate that constexpr should not be used regardless of the compiler's ability to support it. This is done for QNX because some C library floating point functions used in the Dinkumware C++ library aren't constexpr functions; i.e., the library doesn't have proper constexpr support even though the compiler does. Change-Id: I16918bbceac1e20b67c6ddbda28df3d9758bab83 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforminputcontexts/ibus/qibusplatforminputcontext.cpp')
0 files changed, 0 insertions, 0 deletions