]> git.pld-linux.org Git - packages/crossmingw32-libjpeg.git/blob - libjpeg-c++.patch
- force %{_lib}-independent libdir
[packages/crossmingw32-libjpeg.git] / libjpeg-c++.patch
1 --- jpeg-6b/jpeglib.h.c++       Sat Jun 17 21:58:15 2000
2 +++ jpeg-6b/jpeglib.h   Sat Jun 17 21:58:53 2000
3 @@ -13,6 +13,10 @@
4  #ifndef JPEGLIB_H
5  #define JPEGLIB_H
6  
7 +#ifdef __cplusplus
8 +extern "C" {
9 +#endif
10 +
11  /*
12   * First we include the configuration files that record how this
13   * installation of the JPEG library is set up.  jconfig.h can be
14 @@ -1091,6 +1095,10 @@
15  #ifdef JPEG_INTERNALS
16  #include <jpegint.h>           /* fetch private declarations */
17  #include <jerror.h>            /* fetch error codes too */
18 +#endif
19 +
20 +#ifdef __cplusplus
21 +}
22  #endif
23  
24  #endif /* JPEGLIB_H */
This page took 0.04502 seconds and 3 git commands to generate.