diff options
author | Bernhard Rosenkraenzer <bero@redhat.com> | 2009-01-09 00:40:52 +0100 |
---|---|---|
committer | Christoph Brill <egore911@egore911.de> | 2009-01-09 00:40:52 +0100 |
commit | de5582fa9c8942723a9bfca250decf7e709e53a3 (patch) | |
tree | 7a2855368e86487b5f2b5a885bf5ba5ffdc5dfea | |
parent | 454bfc25d26df247c19cab0c7c15b3e9fc8645e3 (diff) |
[PATCH] jpeg-c++.patch
add some C++ tweaks to the headers as suggested by bug #9822
-rw-r--r-- | jpeglib.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 */ |