summaryrefslogtreecommitdiff
path: root/onlineupdate/source/update/inc
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-07-22 07:17:23 +0200
committerJan Holesovsky <kendy@collabora.com>2015-07-22 07:18:36 +0200
commit8be5ec39051cc0eb70ec9882a45a95c661f7398f (patch)
tree01ea25c3d20dbb62d931fd77702a275e1c287f81 /onlineupdate/source/update/inc
parentb59955bf2124b558147033782bf067a3723e4730 (diff)
online update: Fix many warnings.
Not all yet, though. Change-Id: Ic4f0fe3ded31d585faefd8bda8ab87f54b88dc6c
Diffstat (limited to 'onlineupdate/source/update/inc')
-rw-r--r--onlineupdate/source/update/inc/mozilla/Attributes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/onlineupdate/source/update/inc/mozilla/Attributes.h b/onlineupdate/source/update/inc/mozilla/Attributes.h
index b34e7d5af07a..4d38632dbc4b 100644
--- a/onlineupdate/source/update/inc/mozilla/Attributes.h
+++ b/onlineupdate/source/update/inc/mozilla/Attributes.h
@@ -83,7 +83,7 @@
# define MOZ_HAVE_NORETURN __attribute__((noreturn))
# endif
#elif defined(__GNUC__)
-# if defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L
+# if defined(__GXX_EXPERIMENTAL_CXX0X__) || (defined(__cplusplus) && __cplusplus >= 201103L)
# define MOZ_HAVE_CXX11_CONSTEXPR
# if MOZ_GCC_VERSION_AT_LEAST(4, 8, 0)
# define MOZ_HAVE_CXX11_CONSTEXPR_IN_TEMPLATES