mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 14:34:33 +02:00
simplify __cplusplus ifdef
drop c_plusplus which is from a quite ancient pre-standard compiler Change-Id: I9e357b3292a6b52b14c2641ba11f4f872c04b7fb
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
#include <stdio.h>
|
||||
#include "webp/types.h"
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -28,7 +28,7 @@ struct WebPPicture;
|
||||
int ReadJPEG(FILE* in_file, struct WebPPicture* const pic,
|
||||
struct Metadata* const metadata);
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user