summaryrefslogtreecommitdiff
path: root/source/dng_shared.cpp
diff options
context:
space:
mode:
authorKinan Hakim <kinan@google.com>2016-01-22 13:30:26 +0100
committerKinan Hakim <kinan@google.com>2016-01-22 13:30:26 +0100
commitbca13f2e9b7c1363f96847c939e742e99addf830 (patch)
tree612d1fd820b6e1f46b7c61c57369d9350b4e065a /source/dng_shared.cpp
parent3758941131f944a197fd36297d027ec3e0a89544 (diff)
downloaddng_sdk-bca13f2e9b7c1363f96847c939e742e99addf830.tar.gz
Fix ifdef for some compilers.
Diffstat (limited to 'source/dng_shared.cpp')
-rw-r--r--source/dng_shared.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/dng_shared.cpp b/source/dng_shared.cpp
index b21cf35..db599b9 100644
--- a/source/dng_shared.cpp
+++ b/source/dng_shared.cpp
@@ -96,9 +96,11 @@ dng_camera_profile_info::~dng_camera_profile_info ()
/*****************************************************************************/
-#if defined(__clang__) && defined(__has_attribute) && __has_attribute(no_sanitize)
+#if defined(__clang__) && defined(__has_attribute)
+#if __has_attribute(no_sanitize)
__attribute__((no_sanitize("unsigned-integer-overflow")))
#endif
+#endif
bool dng_camera_profile_info::ParseTag (dng_stream &stream,
uint32 parentCode,
uint32 tagCode,