projects
/
platform
/
upstream
/
libjpeg6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9196c1
)
jpeglib.h: use C linkage
author
Patrick McCarty
<patrick.mccarty@linux.intel.com>
Fri, 8 Feb 2013 19:03:41 +0000
(11:03 -0800)
committer
Patrick McCarty
<patrick.mccarty@linux.intel.com>
Fri, 8 Feb 2013 19:03:41 +0000
(11:03 -0800)
jpeglib.h
patch
|
blob
|
history
diff --git
a/jpeglib.h
b/jpeglib.h
index
d1be8dd
..
7e19d84
100644
(file)
--- a/
jpeglib.h
+++ b/
jpeglib.h
@@
-13,6
+13,10
@@
#ifndef JPEGLIB_H
#define JPEGLIB_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* First we include the configuration files that record how this
* installation of the JPEG library is set up. jconfig.h can be
@@
-1093,4
+1097,8
@@
struct jpeg_color_quantizer { long dummy; };
#include "jerror.h" /* fetch error codes too */
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif /* JPEGLIB_H */