summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/libwebp/dec/webpi.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/libwebp/dec/webpi.h')
-rw-r--r--chromium/third_party/libwebp/dec/webpi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/libwebp/dec/webpi.h b/chromium/third_party/libwebp/dec/webpi.h
index 4ae0bfc5a0f..d915f5ef6ff 100644
--- a/chromium/third_party/libwebp/dec/webpi.h
+++ b/chromium/third_party/libwebp/dec/webpi.h
@@ -14,7 +14,7 @@
#ifndef WEBP_DEC_WEBPI_H_
#define WEBP_DEC_WEBPI_H_
-#if defined(__cplusplus) || defined(c_plusplus)
+#ifdef __cplusplus
extern "C" {
#endif
@@ -109,7 +109,7 @@ void WebPGrabDecBuffer(WebPDecBuffer* const src, WebPDecBuffer* const dst);
//------------------------------------------------------------------------------
-#if defined(__cplusplus) || defined(c_plusplus)
+#ifdef __cplusplus
} // extern "C"
#endif