]> git.pld-linux.org Git - packages/crossmingw32-libjpeg.git/commitdiff
patch from RH. libjpeg-6b-17
authorkloczek <kloczek@pld-linux.org>
Thu, 19 Oct 2000 00:03:05 +0000 (00:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libjpeg-c++.patch -> 1.1

libjpeg-c++.patch [new file with mode: 0644]

diff --git a/libjpeg-c++.patch b/libjpeg-c++.patch
new file mode 100644 (file)
index 0000000..81dcc39
--- /dev/null
@@ -0,0 +1,24 @@
+--- jpeg-6b/jpeglib.h.c++      Sat Jun 17 21:58:15 2000
++++ jpeg-6b/jpeglib.h  Sat Jun 17 21:58:53 2000
+@@ -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
+@@ -1091,6 +1095,10 @@
+ #ifdef JPEG_INTERNALS
+ #include "jpegint.h"          /* fetch private declarations */
+ #include "jerror.h"           /* fetch error codes too */
++#endif
++
++#ifdef __cplusplus
++}
+ #endif
+ #endif /* JPEGLIB_H */
This page took 0.063715 seconds and 4 git commands to generate.